2016-02-20 23:25:00 +01:00
|
|
|
#ifndef _MISC_PLAYER_HPP_
|
|
|
|
#define _MISC_PLAYER_HPP_
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
#include "SqBase.hpp"
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
2016-05-22 05:20:38 +02:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Retrieve the name associated with a skin model identifier.
|
|
|
|
*/
|
2016-02-20 23:25:00 +01:00
|
|
|
CCStr GetSkinName(Uint32 id);
|
2016-05-22 05:20:38 +02:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Modify the name associated with a skin model identifier.
|
|
|
|
*/
|
2019-02-17 16:23:59 +01:00
|
|
|
void SetSkinName(Uint32 id, StackStrF & name);
|
2016-05-22 05:20:38 +02:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Convert a vehicle model name to a skin model identifier.
|
|
|
|
*/
|
2019-02-17 16:23:59 +01:00
|
|
|
Int32 GetSkinID(StackStrF & name);
|
2016-02-20 23:25:00 +01:00
|
|
|
|
2016-05-22 05:20:38 +02:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* See whether the specified skin model identifier is valid.
|
|
|
|
*/
|
|
|
|
bool IsSkinValid(Int32 id);
|
2016-02-20 23:25:00 +01:00
|
|
|
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
|
|
|
|
#endif // _MISC_PLAYER_HPP_
|