2016-02-20 23:25:00 +01:00
|
|
|
#ifndef _MISC_VEHICLE_HPP_
|
|
|
|
#define _MISC_VEHICLE_HPP_
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-20 23:25:00 +01:00
|
|
|
#include "SqBase.hpp"
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
2016-05-22 05:20:38 +02:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Retrieve the name associated with a vehicle model identifier.
|
|
|
|
*/
|
|
|
|
CSStr GetAutomobileName(Uint32 id);
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Modify the name associated with a vehicle model identifier.
|
|
|
|
*/
|
|
|
|
void SetAutomobileName(Uint32 id, CSStr name);
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Convert a vehicle model name to a vehicle model identifier.
|
|
|
|
*/
|
|
|
|
Int32 GetAutomobileID(CSStr name);
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* See whether the specified vehicle model identifier is valid.
|
|
|
|
*/
|
2016-02-20 23:25:00 +01:00
|
|
|
bool IsAutomobileValid(Int32 id);
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
|
2016-02-20 23:25:00 +01:00
|
|
|
#endif // _MISC_VEHICLE_HPP_
|