public static Event MatchEnd(bool isWinner) { Event ret = new Event(bwapiPINVOKE.Event_MatchEnd(isWinner), true); return ret; }
public bool opEquals(Event other) { bool ret = bwapiPINVOKE.Event_opEquals(swigCPtr, Event.getCPtr(other)); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static Event MatchStart() { Event ret = new Event(bwapiPINVOKE.Event_MatchStart(), true); return ret; }
internal static HandleRef getCPtr(Event obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool Equals(Event obj) { if (obj == null) return false; return (obj.swigCPtr.Handle == this.swigCPtr.Handle); }
public static Event UnitRenegade(Unit unit) { Event ret = new Event(bwapiPINVOKE.Event_UnitRenegade(Unit.getCPtr(unit)), true); return ret; }
public static Event SaveGame(string gameName) { Event ret = new Event(bwapiPINVOKE.Event_SaveGame(gameName), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static Event NukeDetect(Position target) { Event ret = new Event(bwapiPINVOKE.Event_NukeDetect(Position.getCPtr(target)), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static Event PlayerLeft(Player player) { Event ret = new Event(bwapiPINVOKE.Event_PlayerLeft(Player.getCPtr(player)), true); return ret; }
public static Event ReceiveText(Player player, string text) { Event ret = new Event(bwapiPINVOKE.Event_ReceiveText(Player.getCPtr(player), text), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static Event SendText(string text) { Event ret = new Event(bwapiPINVOKE.Event_SendText(text), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static Event MenuFrame() { Event ret = new Event(bwapiPINVOKE.Event_MenuFrame(), true); return ret; }