mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 15:33:34 +00:00
9655f0ee45
fix compile issues
21 lines
459 B
C++
21 lines
459 B
C++
#ifndef IIGNORELIST_H
|
|
#define IIGNORELIST_H
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class IIgnoreList {
|
|
public:
|
|
struct Info {
|
|
std::string name;
|
|
uint32_t id;
|
|
};
|
|
|
|
virtual std::vector<Info> GetIgnoreList(const uint32_t playerId) = 0;
|
|
virtual void AddIgnore(const uint32_t playerId, const uint32_t ignoredPlayerId) = 0;
|
|
virtual void RemoveIgnore(const uint32_t playerId, const uint32_t ignoredPlayerId) = 0;
|
|
};
|
|
|
|
#endif //!IIGNORELIST_H
|