public void SetAlliance(JassPlayer other, JassAllianceType alliance, Boolean flag) { SafeNatives.SetPlayerAlliance(this, other, alliance, flag); }
public Int32 GetTaxRate(JassPlayer other, JassPlayerState resource) { return(SafeNatives.GetPlayerTaxRate(this, other, resource)); }
public void SetTaxRate(JassPlayer other, JassPlayerState resource, Int32 rate) { SafeNatives.SetPlayerTaxRate(this, other, resource, rate); }
/// <summary> /// Creates a unit. /// </summary> /// <param name="player">The owner of the unit.</param> /// <param name="unitname">The name of the unit type.</param> /// <param name="x">The position of the unit.</param> /// <param name="y">The position of the unit.</param> /// <param name="facing">The facing of the unit.</param> /// <returns>A unit.</returns> public static JassUnit Create(JassPlayer player, String unitname, Single x, Single y, Single facing) { return(SafeNatives.CreateUnitByName(player, unitname, x, y, facing)); }
/// <summary> /// Creates a dead unit. /// </summary> /// <param name="player">The owner of the unit.</param> /// <param name="unitId">The id of the unit type.</param> /// <param name="x">The position of the unit.</param> /// <param name="y">The position of the unit.</param> /// <param name="facing">The facing of the unit.</param> /// <returns>A unit.</returns> public static JassUnit CreateCorpse(JassPlayer player, JassObjectId unitid, Single x, Single y, Single facing) { return(SafeNatives.CreateCorpse(player, unitid, x, y, facing)); }
public void SetPlayer(JassPlayer player, Boolean changeColor) { SafeNatives.SetItemPlayer(this, player, changeColor); }
public void SetPlayer(JassPlayer player) { SafeNatives.SetItemPlayer(this, player, false); }
public JassEvent RegisterPlayerStateEvent(JassPlayer player, JassPlayerState state, JassLimitOp opcode, Single value) { return(SafeNatives.TriggerRegisterPlayerStateEvent(this, player, state, opcode, value)); }
public JassEvent RegisterPlayerAllianceChange(JassPlayer player, JassAllianceType allianceType) { return(SafeNatives.TriggerRegisterPlayerAllianceChange(this, player, allianceType)); }
public JassEvent RegisterPlayerUnitEvent(JassPlayer player, JassPlayerUnitEvent playerUnitEvent, JassBooleanExpression filter) { return(SafeNatives.TriggerRegisterPlayerUnitEvent(this, player, playerUnitEvent, filter)); }
public JassEvent RegisterPlayerEvent(JassPlayer player, JassPlayerEvent playerEvent) { return(SafeNatives.TriggerRegisterPlayerEvent(this, player, playerEvent)); }
public JassEvent RegisterPlayerChatEvent(JassPlayer player, String message, Boolean exactMatchOnly) { return(SafeNatives.TriggerRegisterPlayerChatEvent(this, player, message, exactMatchOnly)); }