AthenaShared.information.weaponList ​
Interfaces ​
Functions ​
getWeaponByName ​
Usage
AthenaShared.information.weaponList.getWeaponByName(name
): Weapon
| null
Get a weapon hash by its string name.
Parameters ​
Name | Type |
---|---|
name | string |
Returns ​
Weapon
| null
Defined in ​
shared/information/weaponList.ts:1565
getWeaponList ​
Usage
AthenaShared.information.weaponList.getWeaponList(): Weapon
[]
Get all the weapons in the game.
Returns ​
Weapon
[]
An array of all the weapons in the WeaponList.
Defined in ​
shared/information/weaponList.ts:1573
getWeaponMap ​
Usage
AthenaShared.information.weaponList.getWeaponMap(): Object
Returns ​
Object