2015-09-30 02:56:11 +02:00
|
|
|
#ifndef _MISC_WEAPON_HPP_
|
|
|
|
#define _MISC_WEAPON_HPP_
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-20 23:25:00 +01:00
|
|
|
#include "SqBase.hpp"
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
2016-02-20 23:25:00 +01:00
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
CCStr GetWeaponName(Uint32 id);
|
|
|
|
void SetWeaponName(Uint32 id, CCStr name);
|
|
|
|
Int32 GetWeaponID(CCStr name);
|
|
|
|
bool IsWeaponValid(Int32 id);
|
|
|
|
Int32 WeaponToModel(Int32 id);
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
|
|
|
|
#endif // _MISC_WEAPON_HPP_
|