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