public UnitTypeIntPair(UnitTypeIntPair p) : this(bwapiPINVOKE.new_UnitTypeIntPair__SWIG_2(UnitTypeIntPair.getCPtr(p)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public bool Equals(UnitTypeIntPair obj)
 {
     if (obj == null)
     {
         return(false);
     }
     return(obj.swigCPtr.Handle == this.swigCPtr.Handle);
 }
Пример #3
0
 public UnitTypeIntPair whatBuilds() {
   UnitTypeIntPair ret = new UnitTypeIntPair(bwapiPINVOKE.UnitType_whatBuilds(swigCPtr), true);
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnitTypeIntPair obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Пример #5
0
        public UnitTypeIntPair whatBuilds()
        {
            UnitTypeIntPair ret = new UnitTypeIntPair(bwapiPINVOKE.UnitType_whatBuilds(swigCPtr), true);

            return(ret);
        }