2020-03-22 01:45:04 +02:00
|
|
|
#pragma once
|
2015-09-30 03:56:11 +03:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-21 00:25:00 +02:00
|
|
|
#include "SqBase.hpp"
|
2015-09-30 03:56:11 +03:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
2016-05-22 06:20:38 +03:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Retrieve the name associated with a vehicle model identifier.
|
|
|
|
*/
|
2017-06-16 02:35:03 +03:00
|
|
|
String GetAutomobileName(Uint32 id);
|
2016-05-22 06:20:38 +03:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Modify the name associated with a vehicle model identifier.
|
|
|
|
*/
|
2019-02-17 17:23:59 +02:00
|
|
|
void SetAutomobileName(Uint32 id, StackStrF & name);
|
2016-05-22 06:20:38 +03:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Convert a vehicle model name to a vehicle model identifier.
|
|
|
|
*/
|
2019-02-17 17:23:59 +02:00
|
|
|
Int32 GetAutomobileID(StackStrF & name);
|
2016-05-22 06:20:38 +03:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* See whether the specified vehicle model identifier is valid.
|
|
|
|
*/
|
2016-02-21 00:25:00 +02:00
|
|
|
bool IsAutomobileValid(Int32 id);
|
2015-09-30 03:56:11 +03:00
|
|
|
|
|
|
|
} // Namespace:: SqMod
|