From bfb07f609856fb5436ce50242a457c25707950fe Mon Sep 17 00:00:00 2001 From: maybegreat48 <96936658+maybegreat48@users.noreply.github.com> Date: Sun, 4 Dec 2022 15:22:08 +0000 Subject: [PATCH] Update classes (#85) * Create ClonedTakeOffPedVariationInfo.cpp --- datanodes/task/ClonedTakeOffPedVariationInfo.hpp | 13 +++++++++++++ network/Network.hpp | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 datanodes/task/ClonedTakeOffPedVariationInfo.hpp diff --git a/datanodes/task/ClonedTakeOffPedVariationInfo.hpp b/datanodes/task/ClonedTakeOffPedVariationInfo.hpp new file mode 100644 index 0000000..6fe095c --- /dev/null +++ b/datanodes/task/ClonedTakeOffPedVariationInfo.hpp @@ -0,0 +1,13 @@ +#pragma once +#include + +#pragma pack(push, 1) +class ClonedTakeOffPedVariationInfo +{ +public: + char pad_0000[112]; //0x0000 + uint32_t m_parachute_override_model_hash; //0x0070 + char pad_0074[20]; //0x0074 +}; //Size: 0x0088 +static_assert(sizeof(ClonedTakeOffPedVariationInfo) == 0x88); +#pragma pack(pop) diff --git a/network/Network.hpp b/network/Network.hpp index bdb0995..171bf5a 100644 --- a/network/Network.hpp +++ b/network/Network.hpp @@ -57,6 +57,18 @@ public: }; //Size: 0x0314 static_assert(sizeof(NetworkGameFilterMatchmakingComponent) == 0x314); +class MatchmakingAttributes +{ +public: + uint32_t m_game_mode; //0x0000 + uint32_t m_num_params; //0x0004 + uint32_t m_param_unk[8]; //0x0008 + char m_param_names[8][24]; //0x0028 + uint32_t m_param_values[8]; //0x00E8 + uint32_t m_params_bitset; //0x0108 +}; //Size: 0x010C +static_assert(sizeof(MatchmakingAttributes) == 0x10C); + class NetworkGameFilter { public: