mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-22 08:42:44 +08:00
Network Time (#724)
* fix(NativeHooks): Fix softlock when loading Cayo Perico * fear(netTime): Try to modify time remotely * fix(timeSync): Make it work more consistently * feat(netTime): net time sync for all!
This commit is contained in:
@ -60,6 +60,11 @@ namespace big
|
||||
int block_join_reason = 0;
|
||||
bool is_spammer = false;
|
||||
|
||||
std::optional<std::uint32_t> player_time_value;
|
||||
std::optional<std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds>> player_time_value_received_time;
|
||||
std::optional<std::uint32_t> time_difference;
|
||||
std::uint32_t num_time_syncs_sent = 9999;
|
||||
|
||||
protected:
|
||||
bool equals(const CNetGamePlayer* net_game_player) const;
|
||||
|
||||
|
Reference in New Issue
Block a user