public UnitCommandType opAssign(UnitCommandType other) {
   UnitCommandType ret = new UnitCommandType(bwapiPINVOKE.UnitCommandType_opAssign(swigCPtr, UnitCommandType.getCPtr(other)), false);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
public bool Equals(UnitCommandType obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
 public UnitCommandType(UnitCommandType other) : this(bwapiPINVOKE.new_UnitCommandType__SWIG_2(UnitCommandType.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(UnitCommandType obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public bool opGreaterThan(UnitCommandType other) {
   bool ret = bwapiPINVOKE.UnitCommandType_opGreaterThan(swigCPtr, UnitCommandType.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 6
0
 public UnitCommand(Unit _unit, UnitCommandType _type, Unit _target, int _x, int _y, int _extra) : this(bwapiPINVOKE.new_UnitCommand__SWIG_1(Unit.getCPtr(_unit), UnitCommandType.getCPtr(_type), Unit.getCPtr(_target), _x, _y, _extra), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 7
0
 public UnitCommandType getType() {
   UnitCommandType ret = new UnitCommandType(bwapiPINVOKE.UnitCommand_getType(swigCPtr), true);
   return ret;
 }
Ejemplo n.º 8
0
 public static UnitCommandType getUnitCommandType(string name) {
   UnitCommandType ret = new UnitCommandType(bwapiPINVOKE.getUnitCommandType(name), true);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }