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); }
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); }
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); }