GTAV-Classes/script/globals/g_AMC_playerBD.hpp
maybegreat48 2bb20aa67f
Add global classes (#93)
* feat(Network): add snConnectToPeerTaskData and snConnectToPeerTaskResult
* feat(Script): Add script global structs
* fix(CMake): Try to get includes to work
* chore(Globals): try to fix linux build
* chore(Globals): Actually rename all instances of TIMER
2023-01-03 12:15:06 +00:00

16 lines
498 B
C++

#pragma once
#include "../types.hpp"
#include "../Timer.hpp"
struct g_AMC_playerBD_Entry
{
SCR_ARRAY<TIMER, 79> UsedContactServicesTimer; // only index 2 (mugger) is actually used by the scripts. the rest is just a waste of bandwidth
SCR_ARRAY<uint64_t, 79> ContactServiceCooldowns; // same as above
};
static_assert(sizeof(g_AMC_playerBD_Entry) == 239 * 8);
struct g_AMC_playerBD
{
SCR_ARRAY<g_AMC_playerBD_Entry, 32> Entries;
};
static_assert(sizeof(g_AMC_playerBD) == 7649 * 8);