Updated CNetGamePlayer.
This commit is contained in:
parent
99154207de
commit
badd5cef2d
@ -89,13 +89,13 @@ public:
|
|||||||
class CNetGamePlayer : public rage::netPlayer
|
class CNetGamePlayer : public rage::netPlayer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
char pad_0x0008[0x25]; //0x0008
|
char pad_0008[45]; //0x0008
|
||||||
std::int8_t player_id; //0x002D
|
int8_t player_id; //0x0035
|
||||||
char pad_0x002E[0x7A]; //0x002E
|
char pad_0036[122]; //0x0036
|
||||||
CPlayerInfo* player_info; //0x00A8
|
CPlayerInfo* player_info; //0x00B0
|
||||||
char pad_0x00B0[0x14]; //0x00B0
|
char pad_00B8[20]; //0x00B8
|
||||||
std::uint32_t bubble_id; //0x00C4
|
uint32_t bubble_id; //0x00CC
|
||||||
Player player; //0x00C8
|
uint32_t player; //0x00D0
|
||||||
};
|
};
|
||||||
|
|
||||||
class CPlayerInfo : public rage::fwExtensibleBase
|
class CPlayerInfo : public rage::fwExtensibleBase
|
||||||
|
@ -25,7 +25,7 @@ namespace big
|
|||||||
g_settings.save();
|
g_settings.save();
|
||||||
if (ImGui::SliderInt("Int", (PINT)g_settings.options["demo int"].get<int64_t*>(), 0, 10))
|
if (ImGui::SliderInt("Int", (PINT)g_settings.options["demo int"].get<int64_t*>(), 0, 10))
|
||||||
g_settings.save();
|
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();
|
g_settings.save();
|
||||||
if (ImGui::Combo("Combo", (PINT)g_settings.options["demo combo"].get<int64_t*>(), demo_combo, sizeof(demo_combo) / sizeof(*demo_combo)))
|
if (ImGui::Combo("Combo", (PINT)g_settings.options["demo combo"].get<int64_t*>(), demo_combo, sizeof(demo_combo) / sizeof(*demo_combo)))
|
||||||
g_settings.save();
|
g_settings.save();
|
||||||
|
Reference in New Issue
Block a user