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