mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 15:17:23 +08:00
38 lines
544 B
C++
38 lines
544 B
C++
![]() |
#pragma once
|
||
|
|
||
|
namespace big
|
||
|
{
|
||
|
class script_global;
|
||
|
|
||
|
class PersonalVehicle
|
||
|
{
|
||
|
std::string m_name;
|
||
|
int m_id;
|
||
|
Hash m_hash;
|
||
|
int* m_state_bitfield;
|
||
|
|
||
|
public:
|
||
|
PersonalVehicle(int idx, script_global vehicle_idx);
|
||
|
|
||
|
std::string get_display_name();
|
||
|
Hash get_hash();
|
||
|
int get_id();
|
||
|
|
||
|
void summon();
|
||
|
};
|
||
|
|
||
|
class mobile_service
|
||
|
{
|
||
|
public:
|
||
|
mobile_service();
|
||
|
~mobile_service();
|
||
|
|
||
|
void register_vehicles();
|
||
|
|
||
|
std::map<int, PersonalVehicle> m_personal_vehicles;
|
||
|
|
||
|
};
|
||
|
|
||
|
class mobile_service;
|
||
|
inline mobile_service* g_mobile_service{};
|
||
|
}
|