Signature
enum WpnInfo
{
/*
* Description: -
* Return type: enum WeaponIdType
* Get params: rg_get_weapon_info(const weapon_name[], WI_ID);
* Set params: -
*/
WI_ID,
/*
* Description: -
* Return type: int
* Get params: rg_get_weapon_info(const weapon_id, WI_COST);
* Set params: rg_set_weapon_info(const weapon_id, WI_COST, const value);
*/
WI_COST,
/*
* Description: -
* Return type: int
* Get params: rg_get_weapon_info(const weapon_id, WI_CLIP_COST);
* Set params: rg_set_weapon_info(const weapon_id, WI_CLIP_COST, const value);
*/
WI_CLIP_COST,
/*
* Description: -
* Return type: int
* Get params: rg_get_weapon_info(const weapon_id, WI_BUY_CLIP_SIZE);
* Set params: rg_set_weapon_info(const weapon_id, WI_BUY_CLIP_SIZE, const value);
*/
WI_BUY_CLIP_SIZE,
/*
* Description: -
* Return type: int
* Get params: rg_get_weapon_info(const weapon_id, WI_GUN_CLIP_SIZE);
* Set params: rg_set_weapon_info(const weapon_id, WI_GUN_CLIP_SIZE, const value);
*/
WI_GUN_CLIP_SIZE,
/*
* Description: -
* Return type: int
* Get params: rg_get_weapon_info(const weapon_id, WI_MAX_ROUNDS);
* Set params: rg_set_weapon_info(const weapon_id, WI_MAX_ROUNDS, const value);
*/
WI_MAX_ROUNDS,
/*
* Description: -
* Return type: int
* Get params: rg_get_weapon_info(const weapon_id, WI_AMMO_TYPE);
* Set params: rg_set_weapon_info(const weapon_id, WI_AMMO_TYPE, const value);
*/
WI_AMMO_TYPE,
/*
* Description: -
* Return type: -
* Get params: rg_get_weapon_info(const weapon_id, WI_AMMO_NAME, const output[], maxlenght);
* Set params: -
*/
WI_AMMO_NAME,
/*
* Description: -
* Return type: -
* Get params: rg_get_weapon_info(const weapon_id, WI_NAME, const output[], maxlenght);
* Set params: -
*/
WI_NAME,
/*
* Description: -
* Return type: enum InventorySlotType
* Get params: rg_get_weapon_info(const weapon_id, WI_SLOT);
* Set params: rg_set_weapon_info(const weapon_id, WI_SLOT, const value);
*/
WI_SLOT
};
Description
Weapon info types for use with rg_set_weapon_info/rg_get_weapon_info()