This commit is contained in:
aozhiwei 2023-06-20 18:02:41 +08:00
parent f530ca115f
commit 0b35212aa2
3 changed files with 8 additions and 0 deletions

View File

@ -376,6 +376,8 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
} }
}, },
&xtimer_attacher); &xtimer_attacher);
} else if (cmd == "fast_forward") {
room->GMFastForward();
} }
#ifdef DEBUG #ifdef DEBUG
a8::XPrintf("exec_cmd:%s\n", {cmd}); a8::XPrintf("exec_cmd:%s\n", {cmd});

View File

@ -3371,3 +3371,8 @@ void Room::CloseRoomSwitch(int tag)
{ {
a8::UnSetBitFlag(room_switch_, tag); a8::UnSetBitFlag(room_switch_, tag);
} }
void Room::GMFastForward()
{
}

View File

@ -258,6 +258,7 @@ public:
void NotifyKillList(const std::vector<int>& uniid_list); void NotifyKillList(const std::vector<int>& uniid_list);
std::shared_ptr<AirRaid> GetAirRaid() { return air_raid_; } std::shared_ptr<AirRaid> GetAirRaid() { return air_raid_; }
std::shared_ptr<BatchSync> GetBatchSync() { return batch_sync_; } std::shared_ptr<BatchSync> GetBatchSync() { return batch_sync_; }
void GMFastForward();
private: private:
void ShuaAndroid(); void ShuaAndroid();