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