Ejemplo n.º 1
0
 public UnitSizeType(UnitSizeType other) : this(bwapiPINVOKE.new_UnitSizeType__SWIG_2(UnitSizeType.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
public bool Equals(UnitSizeType obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
Ejemplo n.º 4
0
 internal static HandleRef getCPtr(UnitSizeType obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 5
0
 public bool opLessThan(UnitSizeType other) {
   bool ret = bwapiPINVOKE.UnitSizeType_opLessThan(swigCPtr, UnitSizeType.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 6
0
 public static UnitSizeType getUnitSizeType(string name) {
   UnitSizeType ret = new UnitSizeType(bwapiPINVOKE.getUnitSizeType(name), true);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 7
0
 public UnitSizeType size() {
   UnitSizeType ret = new UnitSizeType(bwapiPINVOKE.UnitType_size(swigCPtr), true);
   return ret;
 }