public static Race getRace(string name) { Race ret = new Race(bwapiPINVOKE.getRace(name), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual Race getRace() { Race ret = new Race(bwapiPINVOKE.Player_getRace(swigCPtr), true); return ret; }
public Race getRace() { Race ret = new Race(bwapiPINVOKE.UnitType_getRace(swigCPtr), true); return ret; }
public Race opAssign(Race other) { Race ret = new Race(bwapiPINVOKE.Race_opAssign(swigCPtr, Race.getCPtr(other)), false); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual int supplyUsed(Race race) { int ret = bwapiPINVOKE.Player_supplyUsed__SWIG_1(swigCPtr, Race.getCPtr(race)); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Race(Race other) : this(bwapiPINVOKE.new_Race__SWIG_2(Race.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); }
public bool Equals(Race obj) { if (obj == null) return false; return (obj.swigCPtr.Handle == this.swigCPtr.Handle); }
internal static HandleRef getCPtr(Race obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool opLessThan(Race other) { bool ret = bwapiPINVOKE.Race_opLessThan(swigCPtr, Race.getCPtr(other)); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual void changeRace(Race race) { bwapiPINVOKE.Game_changeRace(swigCPtr, Race.getCPtr(race)); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); }