1
This commit is contained in:
parent
363c6977f5
commit
48c994270f
@ -49,6 +49,7 @@ class CustomBattle : public std::enable_shared_from_this<CustomBattle>
|
||||
bool IsCustomMode() { return custom_room_type_ == CUSTOM_ROOM_CUSTOM; }
|
||||
bool IsPvp() { return !is_moba_; }
|
||||
bool IsMoba() { return is_moba_; }
|
||||
bool IsNewBieBattle() { return is_newbie_battle_; }
|
||||
void OnEnter(std::shared_ptr<cs::CMJoin> join_msg, long ip_saddr, int socket_handle,
|
||||
std::weak_ptr<SocketDisconnectHandler> sd_handler);
|
||||
void OnMemberReady(CustomMember* member);
|
||||
@ -75,6 +76,7 @@ private:
|
||||
int map_id_ = 0;
|
||||
int start_time_ = 0;
|
||||
int team1_average_hero_lv_ = 0;
|
||||
int is_newbie_battle_ = 0;
|
||||
const mt::MapMode* map_mode_meta_ = nullptr;
|
||||
std::string sign_;
|
||||
std::shared_ptr<a8::XObject> raw_data_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user