public static @event TriggerRegisterTrackableHitEvent(trigger whichTrigger, trackable t) { @event triEvent = new @event() { sourceTrackable = t }; whichTrigger.events.Add(triEvent); return(triEvent); }
public static boolean SaveTrackableHandle(hashtable table, integer parentKey, integer childKey, trackable whichTrackable) { table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichTrackable); return(true); }