public PlayerType opAssign(PlayerType other) { PlayerType ret = new PlayerType(bwapiPINVOKE.PlayerType_opAssign(swigCPtr, PlayerType.getCPtr(other)), false); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static PlayerType getPlayerType(string name) { PlayerType ret = new PlayerType(bwapiPINVOKE.getPlayerType(name), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public PlayerType(PlayerType other) : this(bwapiPINVOKE.new_PlayerType__SWIG_2(PlayerType.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); }
public bool Equals(PlayerType obj) { if (obj == null) return false; return (obj.swigCPtr.Handle == this.swigCPtr.Handle); }
internal static HandleRef getCPtr(PlayerType obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool opLessThan(PlayerType other) { bool ret = bwapiPINVOKE.PlayerType_opLessThan(swigCPtr, PlayerType.getCPtr(other)); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual PlayerType getType() { PlayerType ret = new PlayerType(bwapiPINVOKE.Player_getType(swigCPtr), true); return ret; }