Example #1
0
 public virtual void Visit(RSValue inValue, TableLineRef inSourceRef)
 {
     if (inValue.GetInnerType() == RSValue.InnerType.EntityScope)
     {
         Visit(inValue.AsEntity, inSourceRef);
     }
 }
Example #2
0
        public virtual bool Visit(ref RSValue ioValue)
        {
            if (ioValue.GetInnerType() == RSValue.InnerType.EntityScope)
            {
                EntityScopeData scope = ioValue.AsEntity;
                if (Visit(ref scope))
                {
                    ioValue = RSValue.FromEntity(scope);
                    return(true);
                }
            }

            return(false);
        }
Example #3
0
            public override void Visit(RSValue inValue, TableLineRef inSourceRef)
            {
                base.Visit(inValue, inSourceRef);

                switch (inValue.GetInnerType())
                {
                case RSValue.InnerType.Enum:
                case RSValue.InnerType.String:
                {
                    string asString = inValue.AsString;
                    if (Match(asString))
                    {
                        AddRef(inSourceRef, asString);
                    }
                    break;
                }
                }
            }
Example #4
0
            public override void Visit(RSValue inValue, TableLineRef inSourceRef)
            {
                switch (inValue.GetInnerType())
                {
                case RSValue.InnerType.TriggerId:
                {
                    if (inValue.AsTriggerId == m_TriggerId)
                    {
                        AddRef(inSourceRef);
                    }
                    break;
                }

                default:
                {
                    base.Visit(inValue, inSourceRef);
                    break;
                }
                }
            }