Updated CNetGamePlayer.

This commit is contained in:
gir489 2020-12-06 16:04:18 -05:00
parent 99154207de
commit badd5cef2d
2 changed files with 8 additions and 8 deletions

View File

@ -89,13 +89,13 @@ public:
class CNetGamePlayer : public rage::netPlayer
{
public:
char pad_0x0008[0x25]; //0x0008
std::int8_t player_id; //0x002D
char pad_0x002E[0x7A]; //0x002E
CPlayerInfo* player_info; //0x00A8
char pad_0x00B0[0x14]; //0x00B0
std::uint32_t bubble_id; //0x00C4
Player player; //0x00C8
char pad_0008[45]; //0x0008
int8_t player_id; //0x0035
char pad_0036[122]; //0x0036
CPlayerInfo* player_info; //0x00B0
char pad_00B8[20]; //0x00B8
uint32_t bubble_id; //0x00CC
uint32_t player; //0x00D0
};
class CPlayerInfo : public rage::fwExtensibleBase

View File

@ -25,7 +25,7 @@ namespace big
g_settings.save();
if (ImGui::SliderInt("Int", (PINT)g_settings.options["demo int"].get<int64_t*>(), 0, 10))
g_settings.save();
if (ImGui::SliderScalar("Double", ImGuiDataType_Double, g_settings.options["demo double"].get<double*>(), &min, &max)) //JSON does not describe rational numbers as integer/float/double/etc types, it is just "number". See: https://nlohmann.github.io/json/
if (ImGui::SliderScalar("Double", ImGuiDataType_Double, g_settings.options["demo double"].get<double*>(), &min, &max)) //JSON does not describe rational numbers as integer/float/double/etc types, it is just "number". See: https://nlohmann.github.io/json/features/types/
g_settings.save();
if (ImGui::Combo("Combo", (PINT)g_settings.options["demo combo"].get<int64_t*>(), demo_combo, sizeof(demo_combo) / sizeof(*demo_combo)))
g_settings.save();