2023-11-18 11:55:12 +00:00
|
|
|
#ifndef __CHATIGNORELIST__H__
|
|
|
|
#define __CHATIGNORELIST__H__
|
|
|
|
|
|
|
|
struct Packet;
|
|
|
|
|
2023-11-19 04:07:27 +00:00
|
|
|
#include <cstdint>
|
|
|
|
|
2023-11-18 11:55:12 +00:00
|
|
|
namespace ChatIgnoreList {
|
|
|
|
void GetIgnoreList(Packet* packet);
|
|
|
|
void AddIgnore(Packet* packet);
|
2023-11-19 01:33:52 +00:00
|
|
|
void RemoveIgnore(Packet* packet);
|
2023-11-19 04:07:27 +00:00
|
|
|
|
|
|
|
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,
|
|
|
|
};
|
2023-11-18 11:55:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__CHATIGNORELIST__H__
|