Class AntiCheatDetector

Nested Relationships

Nested Types

Class Documentation

class AntiCheatDetector

Win32 utility class that provides the ability to query the status of windows services. Works in either CONTINUAL or ON_DEMAND modes. If first one periodicaly (by default in 1 second) makes queries for the status of two anti-cheat services - Battle Eye and Easy Anti Cheat. In ON_DEMAND mode provides interface to request the status (simplified to true for running status and false for any other statuses) of any named service.

Public Types

enum class DetectorType

Values:

enumerator ON_DEMAND
enumerator CONTINUAL

Public Functions

AntiCheatDetector(DetectorType type)
virtual ~AntiCheatDetector()
AntiCheatDetector(const AntiCheatDetector&) = delete
AntiCheatDetector(AntiCheatDetector&&) noexcept = delete
AntiCheatDetector &operator=(const AntiCheatDetector&) = delete
AntiCheatDetector &operator=(const AntiCheatDetector&&) noexcept = delete
void DetectAndNotify()
void ResetNotificationFlag()
size_t GetDetectedServiceID() const
std::string ConvertIDToServiceName(const size_t serviceID) const