handle RELATIONSHIP_ADD

This commit is contained in:
ouwou
2021-05-09 01:20:48 -04:00
parent 469053a144
commit 925405826a
4 changed files with 37 additions and 1 deletions

View File

@@ -457,3 +457,9 @@ void from_json(const nlohmann::json &j, RelationshipRemoveData &m) {
JS_D("id", m.ID);
JS_D("type", m.Type);
}
void from_json(const nlohmann::json &j, RelationshipAddData &m) {
JS_D("id", m.ID);
JS_D("type", m.Type);
JS_D("user", m.User);
}