Example #1
0
 public static Order getOrder(string name) {
   Order ret = new Order(bwapiPINVOKE.getOrder(name), true);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #2
0
 public virtual Order getSecondaryOrder() {
   Order ret = new Order(bwapiPINVOKE.Unit_getSecondaryOrder(swigCPtr), true);
   return ret;
 }
Example #3
0
 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;
 }
Example #4
0
 public Order(Order other) : this(bwapiPINVOKE.new_Order__SWIG_2(Order.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #5
0
public bool Equals(Order obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
Example #6
0
 internal static HandleRef getCPtr(Order obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #7
0
 public bool opLessThan(Order other) {
   bool ret = bwapiPINVOKE.Order_opLessThan(swigCPtr, Order.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }