This commit is contained in:
aozhiwei 2023-05-16 20:04:12 +08:00
parent 9b6e54b010
commit 027bc5e6d5
3 changed files with 17 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include "incubator.h"
#include "frameeventdata.h"
#include "effect.h"
#include "sandtable.h"
#include "mt/AirLine.h"
@ -173,6 +174,7 @@ void FrameMaker::PostProcess(cs::SMUpdate* msg, Room* room, Human* hum, FrameDat
int left_time = room->GetIncubator()->GetPveLeftTime();
msg->set_game_left_time(left_time);
}
room->GetSandTable()->FillMFSandTable(msg, hum, framedata);
}
void FrameMaker::SerializeLootObjects(cs::SMUpdate* msg, Room* room, Human* hum, FrameData* framedata)

View File

@ -41,6 +41,7 @@
#include "frag_mitask.h"
#include "smoke_mitask.h"
#include "stats.h"
#include "sandtable.h"
#include "mt/Param.h"
#include "mt/Buff.h"
@ -2041,3 +2042,8 @@ bool PBUtils::SupportSandTable(int proto_version)
{
return proto_version >= 2023051601;
}
void SandTable::FillMFSandTable(cs::SMUpdate* msg, Human* hum, FrameData* framedata)
{
}

View File

@ -1,11 +1,20 @@
#pragma once
namespace cs
{
class SMUpdate;
}
class Human;
class FrameData;
class Room;
class SandTable
{
public:
SandTable(Room* room);
void FillMFSandTable(cs::SMUpdate* msg, Human* hum, FrameData* framedata);
private:
Room* room_ = nullptr;
};