mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-14 11:47:15 +01:00
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
#ifndef _MISC_PLAYER_HPP_
|
|
#define _MISC_PLAYER_HPP_
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
#include "SqBase.hpp"
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
namespace SqMod {
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* Retrieve the name associated with a skin model identifier.
|
|
*/
|
|
CCStr GetSkinName(Uint32 id);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* Modify the name associated with a skin model identifier.
|
|
*/
|
|
void SetSkinName(Uint32 id, StackStrF & name);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* Convert a vehicle model name to a skin model identifier.
|
|
*/
|
|
Int32 GetSkinID(StackStrF & name);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* See whether the specified skin model identifier is valid.
|
|
*/
|
|
bool IsSkinValid(Int32 id);
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
#endif // _MISC_PLAYER_HPP_
|