1
This commit is contained in:
parent
526cbf2fc0
commit
eb9c33e383
@ -94,6 +94,7 @@ void Room::InitData(RoomInitInfo& init_info)
|
|||||||
creator_channel_ = init_info.creator_channel;
|
creator_channel_ = init_info.creator_channel;
|
||||||
force_entry_newbie_room_ = init_info.force_entry_newbie_room;
|
force_entry_newbie_room_ = init_info.force_entry_newbie_room;
|
||||||
pve_human_num = init_info.pve_human_num;
|
pve_human_num = init_info.pve_human_num;
|
||||||
|
is_newbie_room_ = init_info.is_newbie_room;
|
||||||
|
|
||||||
map_tpl_name_ = init_info.map_tpl_name;
|
map_tpl_name_ = init_info.map_tpl_name;
|
||||||
grid_service = init_info.grid_service;
|
grid_service = init_info.grid_service;
|
||||||
@ -3733,5 +3734,5 @@ void Room::ForceOver()
|
|||||||
|
|
||||||
bool Room::IsNewBieRoom()
|
bool Room::IsNewBieRoom()
|
||||||
{
|
{
|
||||||
return true;
|
return is_newbie_room_;
|
||||||
}
|
}
|
||||||
|
@ -352,6 +352,7 @@ private:
|
|||||||
int creator_proto_version_ = 0;
|
int creator_proto_version_ = 0;
|
||||||
int creator_channel_ = 0;
|
int creator_channel_ = 0;
|
||||||
bool force_entry_newbie_room_ = false;
|
bool force_entry_newbie_room_ = false;
|
||||||
|
bool is_newbie_room_ = false;
|
||||||
a8::XTimerWp battle_report_timer_;
|
a8::XTimerWp battle_report_timer_;
|
||||||
|
|
||||||
int current_teamid_ = 0;
|
int current_teamid_ = 0;
|
||||||
|
@ -38,6 +38,7 @@ struct RoomInitInfo
|
|||||||
int init_map_id = 0;
|
int init_map_id = 0;
|
||||||
int pve_instance_id = 0;
|
int pve_instance_id = 0;
|
||||||
int pve_human_num = 0;
|
int pve_human_num = 0;
|
||||||
|
bool is_newbie_room = false;
|
||||||
|
|
||||||
const mt::Map* map_meta = nullptr;
|
const mt::Map* map_meta = nullptr;
|
||||||
std::string map_tpl_name;
|
std::string map_tpl_name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user