public UnitSizeType(UnitSizeType other) : this(bwapiPINVOKE.new_UnitSizeType__SWIG_2(UnitSizeType.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); }
public UnitSizeType opAssign(UnitSizeType other) { UnitSizeType ret = new UnitSizeType(bwapiPINVOKE.UnitSizeType_opAssign(swigCPtr, UnitSizeType.getCPtr(other)), false); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool Equals(UnitSizeType obj) { if (obj == null) return false; return (obj.swigCPtr.Handle == this.swigCPtr.Handle); }
internal static HandleRef getCPtr(UnitSizeType obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool opLessThan(UnitSizeType other) { bool ret = bwapiPINVOKE.UnitSizeType_opLessThan(swigCPtr, UnitSizeType.getCPtr(other)); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static UnitSizeType getUnitSizeType(string name) { UnitSizeType ret = new UnitSizeType(bwapiPINVOKE.getUnitSizeType(name), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public UnitSizeType size() { UnitSizeType ret = new UnitSizeType(bwapiPINVOKE.UnitType_size(swigCPtr), true); return ret; }