Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public static PlayerType getPlayerType(string name) {
   PlayerType ret = new PlayerType(bwapiPINVOKE.getPlayerType(name), true);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 3
0
 public PlayerType(PlayerType other) : this(bwapiPINVOKE.new_PlayerType__SWIG_2(PlayerType.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 4
0
public bool Equals(PlayerType obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
Ejemplo n.º 5
0
 internal static HandleRef getCPtr(PlayerType obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 6
0
 public bool opLessThan(PlayerType other) {
   bool ret = bwapiPINVOKE.PlayerType_opLessThan(swigCPtr, PlayerType.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 7
0
 public virtual PlayerType getType() {
   PlayerType ret = new PlayerType(bwapiPINVOKE.Player_getType(swigCPtr), true);
   return ret;
 }