mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-07-04 02:29:54 +00:00
21 lines
452 B
C++
21 lines
452 B
C++
#ifndef IPLAYERCHEATDETECTIONS_H
|
|
#define IPLAYERCHEATDETECTIONS_H
|
|
|
|
#include <cstdint>
|
|
#include <optional>
|
|
|
|
class IPlayerCheatDetections {
|
|
public:
|
|
struct Info {
|
|
std::optional<uint32_t> userId = std::nullopt;
|
|
std::string username;
|
|
std::string systemAddress;
|
|
std::string extraMessage;
|
|
};
|
|
|
|
// Insert a new cheat detection.
|
|
virtual void InsertCheatDetection(const IPlayerCheatDetections::Info& info) = 0;
|
|
};
|
|
|
|
#endif //!IPLAYERCHEATDETECTIONS_H
|