This commit is contained in:
aozhiwei 2023-12-28 11:07:40 +08:00
parent 1289519ba1
commit f7a5e8cf8a
2 changed files with 9 additions and 0 deletions

View File

@ -2239,6 +2239,12 @@ void Room::NotifyKillList(const std::vector<int>& uniid_list)
}); });
} }
int Room::InitWithMobaBattle(long ip_saddr, int socket_handle, std::shared_ptr<cs::CMJoin> msg,
std::shared_ptr<MobaBattle> p)
{
return 0;
}
void SyncObject::FillSMSyncPosition(cs::SMSyncPosition& sync_msg) void SyncObject::FillSMSyncPosition(cs::SMSyncPosition& sync_msg)
{ {
if (!c.Get()) { if (!c.Get()) {

View File

@ -42,6 +42,7 @@ struct FrameEventData;
class SandTable; class SandTable;
class BatchSync; class BatchSync;
class CustomBattle; class CustomBattle;
class MobaBattle;
class RoomAgent; class RoomAgent;
struct Plane struct Plane
@ -280,6 +281,8 @@ public:
Team* GetMobaTeamB() { return moba_team_b_; } Team* GetMobaTeamB() { return moba_team_b_; }
RoomAgent* GetRoomAgent() { return room_agent_; } RoomAgent* GetRoomAgent() { return room_agent_; }
int GenShotUniid() { return ++current_shot_uniid_; } int GenShotUniid() { return ++current_shot_uniid_; }
int InitWithMobaBattle(long ip_saddr, int socket_handle, std::shared_ptr<cs::CMJoin> msg,
std::shared_ptr<MobaBattle> p);
private: private:
void ShuaAndroid(); void ShuaAndroid();