Example #1
0
 public static boolean HaveSavedHandle(hashtable table, integer parentKey, integer childKey)
 {
     if (table.Contains(parentKey.ToString("x8") + childKey.ToString("x8")))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public static @event LoadTriggerEventHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((@event)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #3
0
 public static boolean SaveTimerHandle(hashtable table, integer parentKey, integer childKey, timer whichTimer)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichTimer);
     return(true);
 }
Example #4
0
 public static boolean SaveUnitHandle(hashtable table, integer parentKey, integer childKey, unit whichUnit)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichUnit);
     return(true);
 }
Example #5
0
 public static boolean SaveDestructableHandle(hashtable table, integer parentKey, integer childKey, destructable whichDestructable)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichDestructable);
     return(true);
 }
Example #6
0
 public static region LoadRegionHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((region)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #7
0
 public static fogmodifier LoadFogModifierHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((fogmodifier)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #8
0
 public static unitpool LoadUnitPoolHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((unitpool)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #9
0
 public static itempool LoadItemPoolHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((itempool)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #10
0
 public static sound LoadSoundHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((sound)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #11
0
 public static effect LoadEffectHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((effect)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #12
0
 public static boolexpr LoadBooleanExprHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((boolexpr)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #13
0
 public static group LoadGroupHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((group)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #14
0
 public static void SaveBoolean(hashtable table, integer parentKey, integer childKey, boolean value)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), value);
 }
Example #15
0
 public static lightning LoadLightningHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((lightning)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #16
0
 public static questitem LoadQuestItemHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((questitem)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #17
0
 public static ubersplat LoadUbersplatHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((ubersplat)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #18
0
 public static boolean SaveStr(hashtable table, integer parentKey, integer childKey, @string value)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), value);
     return(true);
 }
Example #19
0
 public static fogstate LoadFogStateHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((fogstate)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #20
0
 public static defeatcondition LoadDefeatConditionHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((defeatcondition)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #21
0
 public static hashtable LoadHashtableHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((hashtable)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #22
0
 public static leaderboard LoadLeaderboardHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((leaderboard)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #23
0
 public static void RemoveSavedHandle(hashtable table, integer parentKey, integer childKey)
 {
     table.Remove(parentKey.ToString("x8") + childKey.ToString("x8"));
 }
Example #24
0
 public static multiboarditem LoadMultiboardItemHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((multiboarditem)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #25
0
 public static boolean SaveItemHandle(hashtable table, integer parentKey, integer childKey, item whichItem)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichItem);
     return(true);
 }
Example #26
0
 public static dialog LoadDialogHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((dialog)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #27
0
 public static boolean SaveAbilityHandle(hashtable table, integer parentKey, integer childKey, ability whichAbility)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichAbility);
     return(true);
 }
Example #28
0
 public static texttag LoadTextTagHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((texttag)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }
Example #29
0
 public static boolean SaveTriggerConditionHandle(hashtable table, integer parentKey, integer childKey, triggercondition whichTriggercondition)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichTriggercondition);
     return(true);
 }
Example #30
0
 public static triggeraction LoadTriggerActionHandle(hashtable table, integer parentKey, integer childKey)
 {
     return((triggeraction)table[parentKey.ToString("x8") + childKey.ToString("x8")]);
 }