Beispiel #1
0
 public static Event MatchEnd(bool isWinner) {
   Event ret = new Event(bwapiPINVOKE.Event_MatchEnd(isWinner), true);
   return ret;
 }
Beispiel #2
0
 public bool opEquals(Event other) {
   bool ret = bwapiPINVOKE.Event_opEquals(swigCPtr, Event.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Beispiel #3
0
 public static Event MatchStart() {
   Event ret = new Event(bwapiPINVOKE.Event_MatchStart(), true);
   return ret;
 }
Beispiel #4
0
 internal static HandleRef getCPtr(Event obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #5
0
public bool Equals(Event obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
Beispiel #6
0
 public static Event UnitRenegade(Unit unit) {
   Event ret = new Event(bwapiPINVOKE.Event_UnitRenegade(Unit.getCPtr(unit)), true);
   return ret;
 }
Beispiel #7
0
 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;
 }
Beispiel #8
0
 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;
 }
Beispiel #9
0
 public static Event PlayerLeft(Player player) {
   Event ret = new Event(bwapiPINVOKE.Event_PlayerLeft(Player.getCPtr(player)), true);
   return ret;
 }
Beispiel #10
0
 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;
 }
Beispiel #11
0
 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;
 }
Beispiel #12
0
 public static Event MenuFrame() {
   Event ret = new Event(bwapiPINVOKE.Event_MenuFrame(), true);
   return ret;
 }