-
Notifications
You must be signed in to change notification settings - Fork 4
Network Time Class Reference
You can get current network time using this class via (https://worldtimeapi.org/) or current local time. All time presented by UTC timestamp (Unixtime)
You can use Time Hack Detector class to compare system and network time automatically.
Read more here:
https://github.com/TinyPlay/Pixel-Anticheat/wiki/Detectors-API#time-hack-detector
Method | Params | Returns | Usage |
---|---|---|---|
GetCurrentNetworkTime() | Action onTimeRecieved Action onRequestError |
- | Get Current Network timestamp (in UTC) from WorldTimeAPI) |
GetCurrentLocalTime() | - | local timestamp (UTC) | Get Current Local timestamp (in UTC) |
SecondsElapsed() | int t1 int t2 |
Difference between two timestamps (Unix Time) in seconds) | Get Difference between two timestamps in seconds |
Copyright (C) 2021 TinyPlay, Inc. Developed for Pixel Incubator.
Base Classes and Types:
Additional Classes and Types:
Encryption Classes:
Don't forget to install latest Pixel Anti-Cheat Release:
https://github.com/TinyPlay/Pixel-Anticheat/releases
The developers of the library:
https://github.com/TinyPlay
Pixe Incubator Discord:
https://discord.com/invite/Ee9sYsttWP
VK Community:
https://vk.com/pixelincubator