Beispiel #1
0
        public override bool issueCommand(UnitCommand command)
        {
            bool ret = bwapiclientPINVOKE.UnitImpl_issueCommand(swigCPtr, UnitCommand.getCPtr(command));

            if (bwapiclientPINVOKE.SWIGPendingException.Pending)
            {
                throw bwapiclientPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool opGreaterThan(UnitCommand other)
        {
            bool ret = bwapiPINVOKE.UnitCommand_opGreaterThan(swigCPtr, UnitCommand.getCPtr(other));

            if (bwapiPINVOKE.SWIGPendingException.Pending)
            {
                throw bwapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual bool issueCommand(UnitCommand command)
        {
            bool ret = bwapiPINVOKE.Unit_issueCommand(swigCPtr, UnitCommand.getCPtr(command));

            if (bwapiPINVOKE.SWIGPendingException.Pending)
            {
                throw bwapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }