mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
#pragma once
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
#include "SqBase.hpp"
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
namespace SqMod {
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* Retrieve the name associated with a model identifier.
|
|
*/
|
|
CSStr GetModelName(Int32 id);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* Modify the name associated with a model identifier.
|
|
*/
|
|
void SetModelName(Int32 id, StackStrF & name);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* See whether the given model identifier is used a weapon model.
|
|
*/
|
|
bool IsModelWeapon(Int32 id);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* See whether the given model identifier is an actual weapon model.
|
|
*/
|
|
bool IsModelActuallyWeapon(Int32 id);
|
|
|
|
} // Namespace:: SqMod
|