Esempio n. 1
0
 public string AggregateControlgetValue(coGuiControl thisobj)
 {
     for (uint i = 0; i < thisobj.getCount(); i++)
     {
         string obj = thisobj.getObject(i);
         if (console.GetVarString(obj + ".internalName") != "")
         {
             return(console.Call(obj, "getValue"));
         }
     }
     return("");
 }
Esempio n. 2
0
 public void AggregateControlsetValue(coGuiControl thisobj, string val, string child)
 {
     for (uint i = 0; i < thisobj.getCount(); i++)
     {
         string obj = thisobj.getObject(i);
         if (obj == child)
         {
             continue;
         }
         if (console.GetVarString(obj + ".internalName") != "")
         {
             setValueSafe(obj, val);
         }
     }
 }