1
This commit is contained in:
parent
05b70acfa0
commit
ebca346d51
@ -62,6 +62,11 @@ void CustomBattle::ParseResult(a8::XObject& obj)
|
||||
member->account_id_ = member_obj->Get("account_id").GetString();
|
||||
member->session_id_ = member_obj->Get("session_id").GetString();
|
||||
member->battle_context_ = std::make_shared<BattleDataContext>();
|
||||
member->battle_context_->ParseResult(*member_obj);
|
||||
if (!member->battle_context_->parse_ok) {
|
||||
parse_ok_ = false;
|
||||
return;
|
||||
}
|
||||
team->member_hash_[member->account_id_] = member;
|
||||
account_hash_[member->account_id_] = team;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user