WeaponManager

Static members

Member

Description

allWeapons

All weapons loaded into the game.

Static methods

Method

Description

GetAiWeaponAllGear(strategy, team)

Picks a gear item based on the loadout pick strategy.

GetAiWeaponLargeGear(strategy, team)

Picks a large gear item based on the loadout pick strategy.

GetAiWeaponPrimary(strategy, team)

Picks a primary weapon based on the loadout pick strategy.

GetAiWeaponSecondary(strategy, team)

Picks a secondary weapon based on the loadout pick strategy.

GetAiWeaponSmallGear(strategy, team)

Picks a small gear item based on the loadout pick strategy.

IsWeaponAvailableToTeam(entry, team)

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)