add more timedpacket

This commit is contained in:
2023-08-12 14:51:18 +02:00
parent add62fb24a
commit 8bddbce07a
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
namespace td {
namespace protocol {
class RemoveTowerPacket : public Packet {
class RemoveTowerPacket : public TimedPacket {
private:
game::TowerID m_TowerID;
public:

View File

@@ -25,7 +25,7 @@ public:
game::Direction GetMobDirection() const { return m_MobDirection; }
};
class UpdateMobStatesPacket : public Packet {
class UpdateMobStatesPacket : public TimedPacket {
private:
std::vector<MobState> m_MobStates;
public:

View File

@@ -6,7 +6,7 @@
namespace td {
namespace protocol {
class UpgradeTowerPacket : public Packet {
class UpgradeTowerPacket : public TimedPacket {
private:
game::TowerID m_TowerID;
game::TowerLevel m_TowerLevel;

View File

@@ -6,7 +6,7 @@
namespace td {
namespace protocol {
class WorldAddTowerPacket : public Packet {
class WorldAddTowerPacket : public TimedPacket {
private:
game::TowerID m_TowerID;
std::int32_t m_TowerX, m_TowerY;