Example #1
0
 public bool Equals(BWAPIC_UnitCommand obj)
 {
     if (obj == null)
     {
         return(false);
     }
     return(obj.swigCPtr.Handle == this.swigCPtr.Handle);
 }
Example #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BWAPIC_UnitCommand obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public int addUnitCommand(BWAPIC_UnitCommand c) {
   int ret = bwapiclientPINVOKE.GameImpl_addUnitCommand(swigCPtr, BWAPIC_UnitCommand.getCPtr(c));
   if (bwapiclientPINVOKE.SWIGPendingException.Pending) throw bwapiclientPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
public bool Equals(BWAPIC_UnitCommand obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
 internal static HandleRef getCPtr(BWAPIC_UnitCommand obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BWAPIC_UnitCommand obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }