-
-
Notifications
You must be signed in to change notification settings - Fork 5
Time Skip Detector
Elijah Brown edited this page Mar 14, 2024
·
4 revisions
This module checks the system time by comparing it with the network time to see if the time in the game has been rewound. It also checks local time rewind from the previous value. The server of choice is used for operation. You can also run your own time check server.
You can provide auto-configuration using Setup Wizzard or setup module manual:
// Initialize Module
Core.GameShield.Main.AddModule<TimeProtector>();
// Get Module for API Requests
Core.GameShield.Main.GetModule<TimeProtector>().PauseDetector(true);
Unified for all modules Cheating Detection Event:
// Get Information when cheating detected
EventMessenger.Main.Subscribe<SecurityWarningPayload>(payload => {
// Work with payload
});
This module provide IShieldModule interface methods with own functional extension:
Method | Usage |
---|---|
SetupModule | Setup Current Module with configuration and force reinitialization if it needed |
Disconnect | Disconnect Current Module |
PauseDetector | Pause / Resume cheating detection for current module |
IsPaused | Check if current module is paused |
GetModuleInfo | Get Current Module info (used in assemblies searching) |