Пример #1
0
 public VariantOperand(Variant inValue)
     : this(Mode.Variant)
 {
     m_Data.Value = inValue;
 }
Пример #2
0
 public void SetDelegate(GetVarWithContextDelegate inGetDelegate)
 {
     m_ConstValue             = default(Variant);
     m_GetDelegate            = null;
     m_GetWithContextDelegate = inGetDelegate;
 }
Пример #3
0
 public void SetConst(Variant inValue)
 {
     m_ConstValue             = inValue;
     m_GetDelegate            = null;
     m_GetWithContextDelegate = null;
 }
Пример #4
0
 /// <summary>
 /// Sets the value associated with the given key.
 /// </summary>
 public CustomVariantResolver SetVar(TableKeyPair inKey, Variant inValue)
 {
     MakeFullPathVarRule(inKey).SetConst(inValue);
     return(this);
 }
Пример #5
0
 public SerializedVariant(Variant inValue)
 {
     m_Type             = inValue.Type;
     m_RawValue         = inValue.RawValue;
     m_StringHashSource = null;
 }