mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 15:33:34 +00:00
9655f0ee45
fix compile issues
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
|