chore: Removed unused functions
This commit is contained in:
parent
47e7c06982
commit
8ae88df44b
@ -19,17 +19,6 @@ namespace big
|
|||||||
g_vehicle_service = nullptr;
|
g_vehicle_service = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool vehicle_service::apply_from_cache(std::string id)
|
|
||||||
{
|
|
||||||
if (auto it = m_handling_profiles.find(id); it != m_handling_profiles.end())
|
|
||||||
{
|
|
||||||
*g_local_player->m_vehicle->m_handling = it->second.data;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
int vehicle_service::attempt_save()
|
int vehicle_service::attempt_save()
|
||||||
{
|
{
|
||||||
if (g_local_player == nullptr || g_local_player->m_in_vehicle == 0x10 || g_local_player->m_vehicle == nullptr)
|
if (g_local_player == nullptr || g_local_player->m_in_vehicle == 0x10 || g_local_player->m_vehicle == nullptr)
|
||||||
|
@ -117,8 +117,6 @@ namespace big
|
|||||||
vehicle_service();
|
vehicle_service();
|
||||||
~vehicle_service();
|
~vehicle_service();
|
||||||
|
|
||||||
bool apply_from_cache(std::string id);
|
|
||||||
|
|
||||||
int attempt_save();
|
int attempt_save();
|
||||||
std::string get_active_profile(std::uint32_t hash);
|
std::string get_active_profile(std::uint32_t hash);
|
||||||
bool get_by_share_code(const char* share_code);
|
bool get_by_share_code(const char* share_code);
|
||||||
|
Reference in New Issue
Block a user