예제 #1
0
            public override void Visit(EntityScopeData inScope, TableLineRef inSourceRef)
            {
                inSourceRef = inSourceRef.WithDescriptor("EntityScopeData");

                switch (inScope.Type)
                {
                case EntityScopeType.ObjectById:
                {
                    if (inScope.IdArg == m_EntityId)
                    {
                        AddRef(inSourceRef);
                    }
                    break;
                }

                case EntityScopeType.Invalid:
                {
                    if (m_EntityId == RSEntityId.Invalid)
                    {
                        AddRef(inSourceRef);
                    }
                    break;
                }

                case EntityScopeType.Null:
                {
                    if (m_EntityId == RSEntityId.Null)
                    {
                        AddRef(inSourceRef);
                    }
                    break;
                }
                }
            }
예제 #2
0
 protected void AddRef(TableLineRef inRef, string inDescriptor)
 {
     AddRef(inRef.WithDescriptor(inDescriptor));
 }