示例#1
0
 public JassEvent RegisterPlayerAllianceChange(JassPlayer player, JassAllianceType allianceType)
 {
     return(Natives.TriggerRegisterPlayerAllianceChange(this, player, allianceType));
 }
示例#2
0
 public JassEvent RegisterPlayerEvent(JassPlayer player, JassPlayerEvent playerEvent)
 {
     return(Natives.TriggerRegisterPlayerEvent(this, player, playerEvent));
 }
示例#3
0
 public JassEvent RegisterPlayerUnitEvent(JassPlayer player, JassPlayerUnitEvent playerUnitEvent, JassBooleanExpression filter)
 {
     return(Natives.TriggerRegisterPlayerUnitEvent(this, player, playerUnitEvent, filter));
 }
示例#4
0
 public JassEvent RegisterPlayerStateEvent(JassPlayer player, JassPlayerState state, JassLimitOp opcode, float value)
 {
     return(Natives.TriggerRegisterPlayerStateEvent(this, player, state, opcode, value));
 }
示例#5
0
 public JassEvent RegisterPlayerChatEvent(JassPlayer player, string message, bool exactMatchOnly)
 {
     return(Natives.TriggerRegisterPlayerChatEvent(this, player, message, exactMatchOnly));
 }
示例#6
0
 public void SetPlayer(JassPlayer player, bool changeColor)
 {
     Natives.SetItemPlayer(this, player, changeColor);
 }
示例#7
0
 public void SetPlayer(JassPlayer player)
 {
     Natives.SetItemPlayer(this, player, false);
 }
示例#8
0
 public void SetTaxRate(JassPlayer other, JassPlayerState resource, int rate)
 {
     Natives.SetPlayerTaxRate(this, other, resource, rate);
 }
示例#9
0
 public void SetAlliance(JassPlayer other, JassAllianceType alliance, bool flag)
 {
     Natives.SetPlayerAlliance(this, other, alliance, flag);
 }
示例#10
0
 public int GetTaxRate(JassPlayer other, JassPlayerState resource)
 {
     return((int)Natives.GetPlayerTaxRate(this, other, resource));
 }
示例#11
0
 public static JassUnit CreateCorpse(JassPlayer player, JassObjectId unitid, float x, float y, float facing)
 {
     return(Natives.CreateCorpse(player, unitid, x, y, facing));
 }
示例#12
0
 public static JassUnit Create(JassPlayer player, string unitname, float x, float y, float facing)
 {
     return(Natives.CreateUnitByName(player, unitname, x, y, facing));
 }
示例#13
0
 public void SetOwner(JassPlayer owner)
 {
     Natives.SetUnitOwner(this, owner, false);
 }
示例#14
0
 public void SetOwner(JassPlayer owner, bool changeColor)
 {
     Natives.SetUnitOwner(this, owner, changeColor);
 }