public virtual SWIGTYPE_p_Region getRegion(int regionID)
        {
            global::System.IntPtr cPtr = bwapiPINVOKE.Game_getRegion(swigCPtr, regionID);
            SWIGTYPE_p_Region     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Region(cPtr, false);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Region obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Example #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Region obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }