mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 22:47:32 +08:00
feat(script): update globals
This commit is contained in:
parent
d274128767
commit
9ca0cb7488
@ -459,13 +459,14 @@ static_assert(sizeof(SALVAGE_YARD_DATA) == 7 * 8);
|
|||||||
struct BAIL_SHOP_DATA
|
struct BAIL_SHOP_DATA
|
||||||
{
|
{
|
||||||
SCR_INT Index;
|
SCR_INT Index;
|
||||||
uint64_t PAD_0001[12];
|
uint64_t PAD_0001[11];
|
||||||
};
|
};
|
||||||
static_assert(sizeof(BAIL_SHOP_DATA) == 13 * 8);
|
static_assert(sizeof(BAIL_SHOP_DATA) == 12 * 8);
|
||||||
|
|
||||||
struct PROPERTY_DATA
|
struct PROPERTY_DATA
|
||||||
{
|
{
|
||||||
SCR_ARRAY<uint64_t, 32> PropertyIds; // size 30 -> 31 b3095, size 31 -> 32 b3258
|
SCR_ARRAY<uint64_t, 32> PropertyIds; // size 30 -> 31 b3095, size 31 -> 32 b3258
|
||||||
|
SCR_INT PAD_0033; // added b3407
|
||||||
SCR_BITSET<ePropertyInteriorFlags>Flags; // I really don't want to indent everything again
|
SCR_BITSET<ePropertyInteriorFlags>Flags; // I really don't want to indent everything again
|
||||||
SCR_INT RingingPlayers; // bitset of players requesting entry into property
|
SCR_INT RingingPlayers; // bitset of players requesting entry into property
|
||||||
SCR_INT Index; // the value you pass to the send to apartment TSE
|
SCR_INT Index; // the value you pass to the send to apartment TSE
|
||||||
@ -474,7 +475,7 @@ struct PROPERTY_DATA
|
|||||||
PLAYER_INDEX ExteriorOwner;
|
PLAYER_INDEX ExteriorOwner;
|
||||||
SCR_ARRAY<uint64_t, 32> RingingPlayersState; // 0 = ringing, 1 = accepted, 2 = denied
|
SCR_ARRAY<uint64_t, 32> RingingPlayersState; // 0 = ringing, 1 = accepted, 2 = denied
|
||||||
GAMER_HANDLE OwnerHandle; // can be used to bypass RID spoofing when player is inside interior
|
GAMER_HANDLE OwnerHandle; // can be used to bypass RID spoofing when player is inside interior
|
||||||
SCR_ARRAY<uint64_t, 32> EclipseTheme; // size 30 -> 31 b3095, size 31 -> 32 b3258
|
SCR_ARRAY<uint64_t, 33> EclipseTheme; // size 30 -> 31 b3095, size 31 -> 32 b3258, size 32 -> 33 b3407
|
||||||
SCR_INT ApartmentType; // normal vs stilt vs eclipse
|
SCR_INT ApartmentType; // normal vs stilt vs eclipse
|
||||||
SCR_INT OwnerInstance; // same as Instance in most cases
|
SCR_INT OwnerInstance; // same as Instance in most cases
|
||||||
SCR_ARRAY<EXEC_WAREHOUSE_INFO, 5> ExecutiveWarehouseInfos;
|
SCR_ARRAY<EXEC_WAREHOUSE_INFO, 5> ExecutiveWarehouseInfos;
|
||||||
@ -548,8 +549,9 @@ struct PROPERTY_DATA
|
|||||||
MULTI_STOREY_GARAGE_DATA MultiStoreyGarageData; // @507 as of 1.67
|
MULTI_STOREY_GARAGE_DATA MultiStoreyGarageData; // @507 as of 1.67
|
||||||
SCR_INT FreakshopBits; // 0: has weapon workshop, 1: radio enabled
|
SCR_INT FreakshopBits; // 0: has weapon workshop, 1: radio enabled
|
||||||
BAIL_SHOP_DATA BailShopData;
|
BAIL_SHOP_DATA BailShopData;
|
||||||
|
uint64_t PAD_539[5]; // added b3407
|
||||||
};
|
};
|
||||||
static_assert(sizeof(PROPERTY_DATA) == 538 * 8);
|
static_assert(sizeof(PROPERTY_DATA) == 544 * 8);
|
||||||
|
|
||||||
struct BIKER_CONTRACTS
|
struct BIKER_CONTRACTS
|
||||||
{
|
{
|
||||||
@ -659,10 +661,10 @@ struct GPBD_FM_Entry
|
|||||||
SCR_INT ApartmentEnterFlags;
|
SCR_INT ApartmentEnterFlags;
|
||||||
SCR_VEC3 AvengerMissionStartPosition;
|
SCR_VEC3 AvengerMissionStartPosition;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(GPBD_FM_Entry) == 883 * 8);
|
static_assert(sizeof(GPBD_FM_Entry) == 889 * 8);
|
||||||
|
|
||||||
struct GPBD_FM
|
struct GPBD_FM
|
||||||
{
|
{
|
||||||
SCR_ARRAY<GPBD_FM_Entry, 32> Entries;
|
SCR_ARRAY<GPBD_FM_Entry, 32> Entries;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(GPBD_FM) == 28257 * 8);
|
static_assert(sizeof(GPBD_FM) == 28449 * 8);
|
@ -548,6 +548,7 @@ struct GlobalPlayerBDEntry
|
|||||||
NETWORK_INDEX AcidLabNetId;
|
NETWORK_INDEX AcidLabNetId;
|
||||||
NETWORK_INDEX DeliveryBikeNetId;
|
NETWORK_INDEX DeliveryBikeNetId;
|
||||||
NETWORK_INDEX BountyTransporterNetId; // added b3258
|
NETWORK_INDEX BountyTransporterNetId; // added b3258
|
||||||
|
NETWORK_INDEX UnkVehicleNetId3; // added b3407
|
||||||
SCR_BOOL PAD_0057;
|
SCR_BOOL PAD_0057;
|
||||||
uint64_t PAD_0058[15]; // confirmed these are not used by PC scripts
|
uint64_t PAD_0058[15]; // confirmed these are not used by PC scripts
|
||||||
PLAYER_BLIP PlayerBlip;
|
PLAYER_BLIP PlayerBlip;
|
||||||
@ -555,7 +556,7 @@ struct GlobalPlayerBDEntry
|
|||||||
uint64_t PAD_0089[32]; // TODO
|
uint64_t PAD_0089[32]; // TODO
|
||||||
alignas(8) eMissionType MissionType;
|
alignas(8) eMissionType MissionType;
|
||||||
SCR_BOOL SpawningVehicle;
|
SCR_BOOL SpawningVehicle;
|
||||||
uint64_t PAD_0123[3]; // confirmed these are not used by PC scripts
|
uint64_t PAD_0123[4]; // confirmed these are not used by PC scripts
|
||||||
MISSION_BETS MissionBets;
|
MISSION_BETS MissionBets;
|
||||||
SCR_BOOL RadarBlipVisibliltyMechanicEnabled;
|
SCR_BOOL RadarBlipVisibliltyMechanicEnabled;
|
||||||
SCR_BITSET<ePlayerStateFlags> PlayerStateFlags;
|
SCR_BITSET<ePlayerStateFlags> PlayerStateFlags;
|
||||||
@ -662,10 +663,10 @@ struct GlobalPlayerBDEntry
|
|||||||
SCR_BOOL CanSpawnGunVan;
|
SCR_BOOL CanSpawnGunVan;
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(GlobalPlayerBDEntry) == 465 * 8);
|
static_assert(sizeof(GlobalPlayerBDEntry) == 467 * 8);
|
||||||
|
|
||||||
struct GlobalPlayerBD
|
struct GlobalPlayerBD
|
||||||
{
|
{
|
||||||
SCR_ARRAY<GlobalPlayerBDEntry, 32> Entries;
|
SCR_ARRAY<GlobalPlayerBDEntry, 32> Entries;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(GlobalPlayerBD) == 14881 * 8);
|
static_assert(sizeof(GlobalPlayerBD) == 14945 * 8);
|
Loading…
Reference in New Issue
Block a user