WeaponManager
Static members
Member |
Description |
---|---|
|
All weapons loaded into the game. |
Static methods
Method |
Description |
---|---|
Picks a gear item based on the loadout pick strategy. |
|
Picks a large gear item based on the loadout pick strategy. |
|
Picks a primary weapon based on the loadout pick strategy. |
|
Picks a secondary weapon based on the loadout pick strategy. |
|
Picks a small gear item based on the loadout pick strategy. |
|
Details
-
class WeaponManager
- static const array<WeaponEntry> allWeapons
All weapons loaded into the game.
-
static WeaponEntry GetAiWeaponAllGear(LoadoutPickStrategy strategy, Team team)
Picks a gear item based on the loadout pick strategy. Only picks weapons that are available to the AI and are available for the specified team.
-
static WeaponEntry GetAiWeaponLargeGear(LoadoutPickStrategy strategy, Team team)
Picks a large gear item based on the loadout pick strategy. Only picks weapons that are available to the AI and are available for the specified team.
-
static WeaponEntry GetAiWeaponPrimary(LoadoutPickStrategy strategy, Team team)
Picks a primary weapon based on the loadout pick strategy. Only picks weapons that are available to the AI and are available for the specified team.
-
static WeaponEntry GetAiWeaponSecondary(LoadoutPickStrategy strategy, Team team)
Picks a secondary weapon based on the loadout pick strategy. Only picks weapons that are available to the AI and are available for the specified team.
-
static WeaponEntry GetAiWeaponSmallGear(LoadoutPickStrategy strategy, Team team)
Picks a small gear item based on the loadout pick strategy. Only picks weapons that are available to the AI and are available for the specified team.
-
static bool IsWeaponAvailableToTeam(WeaponEntry entry, Team team)