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

            whichTrigger.events.Add(triEvent);
            return(triEvent);
        }
예제 #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);
 }
예제 #3
0
 public static boolean IssueNeutralTargetOrder(player forWhichPlayer, unit neutralStructure, @string unitToBuild, widget target)
 {
     throw new NotImplementedException();
 }
예제 #4
0
 public static boolean IssueNeutralTargetOrderById(player forWhichPlayer, unit neutralStructure, integer unitId, widget target)
 {
     throw new NotImplementedException();
 }
예제 #5
0
 public static boolean IssueInstantTargetOrderById(unit whichUnit, integer order, widget targetWidget, widget instantTargetWidget)
 {
     throw new NotImplementedException();
 }
예제 #6
0
 public static boolean IssueInstantPointOrder(unit whichUnit, @string order, real x, real y, widget instantTargetWidget)
 {
     throw new NotImplementedException();
 }
예제 #7
0
 public static boolean IssueTargetOrder(unit whichUnit, @string order, widget targetWidget)
 {
     throw new NotImplementedException();
 }
예제 #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();
 }
예제 #9
0
 public static boolean UnitUseItemTarget(unit whichUnit, item whichItem, widget target)
 {
     throw new NotImplementedException();
 }