mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-09 01:07:16 +01:00
f2361a27c3
Various other changes to the plugin as well.
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, CCStr name);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* Convert a vehicle model name to a skin model identifier.
|
|
*/
|
|
Int32 GetSkinID(CCStr name);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* See whether the specified skin model identifier is valid.
|
|
*/
|
|
bool IsSkinValid(Int32 id);
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
#endif // _MISC_PLAYER_HPP_
|