mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
21 lines
467 B
C
21 lines
467 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__
|