예제 #1
0
 public GameType opAssign(GameType other) {
   GameType ret = new GameType(bwapiPINVOKE.GameType_opAssign(swigCPtr, GameType.getCPtr(other)), false);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #2
0
 public static GameType getGameType(string name) {
   GameType ret = new GameType(bwapiPINVOKE.getGameType(name), true);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #3
0
 public GameType(GameType other) : this(bwapiPINVOKE.new_GameType__SWIG_2(GameType.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #4
0
public bool Equals(GameType obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
예제 #5
0
 internal static HandleRef getCPtr(GameType obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #6
0
 public bool opLessThan(GameType other) {
   bool ret = bwapiPINVOKE.GameType_opLessThan(swigCPtr, GameType.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #7
0
 public virtual GameType getGameType() {
   GameType ret = new GameType(bwapiPINVOKE.Game_getGameType(swigCPtr), true);
   return ret;
 }