public static Order getOrder(string name) { Order ret = new Order(bwapiPINVOKE.getOrder(name), true); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual Order getSecondaryOrder() { Order ret = new Order(bwapiPINVOKE.Unit_getSecondaryOrder(swigCPtr), true); return ret; }
public Order opAssign(Order other) { Order ret = new Order(bwapiPINVOKE.Order_opAssign(swigCPtr, Order.getCPtr(other)), false); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Order(Order other) : this(bwapiPINVOKE.new_Order__SWIG_2(Order.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); }
public bool Equals(Order obj) { if (obj == null) return false; return (obj.swigCPtr.Handle == this.swigCPtr.Handle); }
internal static HandleRef getCPtr(Order obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool opLessThan(Order other) { bool ret = bwapiPINVOKE.Order_opLessThan(swigCPtr, Order.getCPtr(other)); if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve(); return ret; }