public static @event TriggerRegisterDeathEvent(trigger whichTrigger, widget whichWidget)
        {
            @event triEvent = new @event()
            {
                unitevent = EVENT_UNIT_DEATH
            };

            whichTrigger.events.Add(triEvent);
            return(triEvent);
        }
Beispiel #2
0
 public static boolean SaveWidgetHandle(hashtable table, integer parentKey, integer childKey, widget whichWidget)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichWidget);
     return(true);
 }
Beispiel #3
0
 public static boolean IssueNeutralTargetOrder(player forWhichPlayer, unit neutralStructure, @string unitToBuild, widget target)
 {
     throw new NotImplementedException();
 }
Beispiel #4
0
 public static boolean IssueNeutralTargetOrderById(player forWhichPlayer, unit neutralStructure, integer unitId, widget target)
 {
     throw new NotImplementedException();
 }
Beispiel #5
0
 public static boolean IssueInstantTargetOrderById(unit whichUnit, integer order, widget targetWidget, widget instantTargetWidget)
 {
     throw new NotImplementedException();
 }
Beispiel #6
0
 public static boolean IssueInstantPointOrder(unit whichUnit, @string order, real x, real y, widget instantTargetWidget)
 {
     throw new NotImplementedException();
 }
Beispiel #7
0
 public static boolean IssueTargetOrder(unit whichUnit, @string order, widget targetWidget)
 {
     throw new NotImplementedException();
 }
Beispiel #8
0
 public static boolean UnitDamageTarget(unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType)
 {
     throw new NotImplementedException();
 }
Beispiel #9
0
 public static boolean UnitUseItemTarget(unit whichUnit, item whichItem, widget target)
 {
     throw new NotImplementedException();
 }