1
This commit is contained in:
parent
647c8efd3c
commit
efe8a7c311
@ -1,5 +1,7 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include <f8/app.h>
|
||||
|
||||
#include "mobabattle.h"
|
||||
#include "netdata.h"
|
||||
|
||||
@ -114,6 +116,7 @@ void MobaBattle::ParseResult(a8::XObject& obj)
|
||||
member->session_id_ = member_obj->Get("session_id").GetString();
|
||||
member->name_ = member_obj->Get("name").GetString();
|
||||
member->battle_context_ = std::make_shared<BattleDataContext>();
|
||||
member->battle_context_->battle_uuid = f8::App::Instance()->NewGlobalUuid();
|
||||
member->battle_context_->ParseResult(*member_obj);
|
||||
if (!member->battle_context_->parse_ok) {
|
||||
parse_ok_ = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user