1
This commit is contained in:
parent
8609d72de5
commit
fc3f07e872
@ -49,6 +49,7 @@ void CustomBattle::ParseResult(a8::XObject& obj)
|
|||||||
node_id_ = obj.Get("node_id");
|
node_id_ = obj.Get("node_id");
|
||||||
map_mode_ = obj.Get("mode_id");
|
map_mode_ = obj.Get("mode_id");
|
||||||
map_id_ = obj.Get("map_id");
|
map_id_ = obj.Get("map_id");
|
||||||
|
match_mode_ = obj.Get("match_mode");
|
||||||
start_time_ = obj.Get("start_time");
|
start_time_ = obj.Get("start_time");
|
||||||
sign_ = obj.Get("sign").GetString();
|
sign_ = obj.Get("sign").GetString();
|
||||||
const mt::Map* map_meta = mt::Map::GetById(map_id_);
|
const mt::Map* map_meta = mt::Map::GetById(map_id_);
|
||||||
|
@ -25,6 +25,7 @@ class CustomBattle : public std::enable_shared_from_this<CustomBattle>
|
|||||||
const std::shared_ptr<a8::XObject>& GetRawData() { return raw_data_; }
|
const std::shared_ptr<a8::XObject>& GetRawData() { return raw_data_; }
|
||||||
int GetZoneId() { return zone_id_; }
|
int GetZoneId() { return zone_id_; }
|
||||||
int GetNodeId() { return zone_id_; }
|
int GetNodeId() { return zone_id_; }
|
||||||
|
int GetMatchMode() { return match_mode_; }
|
||||||
int GetMapMode() { return map_mode_; }
|
int GetMapMode() { return map_mode_; }
|
||||||
int GetMapId() { return map_id_; }
|
int GetMapId() { return map_id_; }
|
||||||
RoomType_e GetRoomType();
|
RoomType_e GetRoomType();
|
||||||
@ -70,6 +71,7 @@ private:
|
|||||||
int zone_id_ = 0;
|
int zone_id_ = 0;
|
||||||
int node_id_ = 0;
|
int node_id_ = 0;
|
||||||
int map_mode_ = 0;
|
int map_mode_ = 0;
|
||||||
|
int match_mode_ = 0;
|
||||||
int map_id_ = 0;
|
int map_id_ = 0;
|
||||||
int start_time_ = 0;
|
int start_time_ = 0;
|
||||||
int team1_average_hero_lv_ = 0;
|
int team1_average_hero_lv_ = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user