Exemple #1
0
        public override int weaponMaxRange(WeaponType weapon)
        {
            int ret = bwapiclientPINVOKE.PlayerImpl_weaponMaxRange(swigCPtr, WeaponType.getCPtr(weapon));

            if (bwapiclientPINVOKE.SWIGPendingException.Pending)
            {
                throw bwapiclientPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
        public virtual int weaponMaxRange(WeaponType weapon)
        {
            int ret = bwapiPINVOKE.Player_weaponMaxRange(swigCPtr, WeaponType.getCPtr(weapon));

            if (bwapiPINVOKE.SWIGPendingException.Pending)
            {
                throw bwapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
        public override UnitPtrSet getUnitsInWeaponRange(WeaponType weapon)
        {
            UnitPtrSet ret = new UnitPtrSet(bwapiclientPINVOKE.UnitImpl_getUnitsInWeaponRange(swigCPtr, WeaponType.getCPtr(weapon)), false);

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