mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-27 16:16:35 +03:00
handle UPDATE in GUILD_MEMBER_LIST_UPDATE
This commit is contained in:
@@ -152,9 +152,10 @@ struct GuildMemberListUpdateMessage {
|
||||
|
||||
struct OpObject {
|
||||
std::string Op;
|
||||
int Index;
|
||||
std::vector<std::unique_ptr<Item>> Items; // SYNC
|
||||
std::pair<int, int> Range; // SYNC
|
||||
std::optional<int> Index;
|
||||
std::optional<std::vector<std::unique_ptr<Item>>> Items; // SYNC
|
||||
std::optional<std::pair<int, int>> Range; // SYNC
|
||||
std::optional<std::unique_ptr<Item>> OpItem; // UPDATE
|
||||
|
||||
friend void from_json(const nlohmann::json &j, OpObject &m);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user