This commit is contained in:
aozhiwei 2023-05-30 11:59:33 +08:00
parent b079b3c6fe
commit 1385baa2a4
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#include "precompile.h"
#include "batchsync.h"

View File

@ -0,0 +1,8 @@
#pragma once
class BatchSync
{
public:
Room* room = nullptr;
};

View File

@ -35,6 +35,7 @@ class MapInstance;
struct RoomInitInfo; struct RoomInitInfo;
struct FrameEventData; struct FrameEventData;
class SandTable; class SandTable;
class BatchSync;
struct Plane struct Plane
{ {
@ -252,6 +253,7 @@ public:
void CloseRoomSwitch(int tag); void CloseRoomSwitch(int tag);
void NotifyNewsTicker(int msg_type, std::vector<std::string> msg_content); void NotifyNewsTicker(int msg_type, std::vector<std::string> msg_content);
std::shared_ptr<AirRaid> GetAirRaid() { return air_raid_; } std::shared_ptr<AirRaid> GetAirRaid() { return air_raid_; }
std::shared_ptr<BatchSync> GetBatchSync() { return batch_sync_; }
private: private:
void ShuaAndroid(); void ShuaAndroid();
@ -402,6 +404,7 @@ private:
std::shared_ptr<AirDrop> air_drop_; std::shared_ptr<AirDrop> air_drop_;
std::shared_ptr<AirRaid> air_raid_; std::shared_ptr<AirRaid> air_raid_;
std::shared_ptr<BatchSync> batch_sync_;
FrameCallNode* top_node_ = nullptr; FrameCallNode* top_node_ = nullptr;
FrameCallNode* bot_node_ = nullptr; FrameCallNode* bot_node_ = nullptr;