DarkflameServer/dDatabase/GameDatabase/ITables/IPlayerCheatDetections.h
David Markowitz 9655f0ee45 make include guards standards conforming
fix compile issues
2024-10-30 00:34:25 -07:00

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