diff --git a/server/gameserver/commands.cc b/server/gameserver/commands.cc index 3414aad4..d62c75f4 100644 --- a/server/gameserver/commands.cc +++ b/server/gameserver/commands.cc @@ -376,6 +376,8 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg) } }, &xtimer_attacher); + } else if (cmd == "fast_forward") { + room->GMFastForward(); } #ifdef DEBUG a8::XPrintf("exec_cmd:%s\n", {cmd}); diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index b340a756..0c534784 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -3371,3 +3371,8 @@ void Room::CloseRoomSwitch(int tag) { a8::UnSetBitFlag(room_switch_, tag); } + +void Room::GMFastForward() +{ + +} diff --git a/server/gameserver/room.h b/server/gameserver/room.h index 274a894d..d3002426 100644 --- a/server/gameserver/room.h +++ b/server/gameserver/room.h @@ -258,6 +258,7 @@ public: void NotifyKillList(const std::vector& uniid_list); std::shared_ptr GetAirRaid() { return air_raid_; } std::shared_ptr GetBatchSync() { return batch_sync_; } + void GMFastForward(); private: void ShuaAndroid();