mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-21 11:59:37 -06:00
28 lines
458 B
C++
28 lines
458 B
C++
#ifndef CHATIGNORELIST_H
|
|
#define CHATIGNORELIST_H
|
|
|
|
struct Packet;
|
|
|
|
#include <cstdint>
|
|
|
|
namespace ChatIgnoreList {
|
|
void GetIgnoreList(Packet* packet);
|
|
void AddIgnore(Packet* packet);
|
|
void RemoveIgnore(Packet* packet);
|
|
|
|
enum class Response : uint8_t {
|
|
ADD_IGNORE = 32,
|
|
REMOVE_IGNORE = 33,
|
|
GET_IGNORE = 34,
|
|
};
|
|
|
|
enum class AddResponse : uint8_t {
|
|
SUCCESS,
|
|
ALREADY_IGNORED,
|
|
PLAYER_NOT_FOUND,
|
|
GENERAL_ERROR,
|
|
};
|
|
};
|
|
|
|
#endif //!CHATIGNORELIST_H
|