Example #1
0
        public void SetObject(int index, ObjectID value)
        {
            VarData vVardata = VarData.zero;

            vVardata.nType  = VarType.Object;
            vVardata.Data   = value.Clone();
            m_Values[index] = vVardata;
        }
Example #2
0
        public void AddObject(ObjectID value)
        {
            VarData data = FreeAllocManager.GetInstance.GetVarObject();

            data.nType = VarType.Object;
            data.Data  = value.Clone();

            m_Values.Add(data);
        }
Example #3
0
 public void SetObject(ObjectID value)
 {
     if (Data != null && nType == VarType.Object)
     {
         Data = value;
     }
     else
     {
         nType = VarType.Object;
         Data  = value.Clone();
     }
 }
Example #4
0
 public void SetObject(ObjectID value)
 {
     nType = VarType.Object;
     Data  = value.Clone();
 }
Example #5
0
 public void SetObject(int index, ObjectID value)
 {
     m_Values[index].nType = VarType.Object;
     m_Values[index].Data  = value.Clone();
 }