add more timedpacket
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
namespace td {
|
namespace td {
|
||||||
namespace protocol {
|
namespace protocol {
|
||||||
|
|
||||||
class RemoveTowerPacket : public Packet {
|
class RemoveTowerPacket : public TimedPacket {
|
||||||
private:
|
private:
|
||||||
game::TowerID m_TowerID;
|
game::TowerID m_TowerID;
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public:
|
|||||||
game::Direction GetMobDirection() const { return m_MobDirection; }
|
game::Direction GetMobDirection() const { return m_MobDirection; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class UpdateMobStatesPacket : public Packet {
|
class UpdateMobStatesPacket : public TimedPacket {
|
||||||
private:
|
private:
|
||||||
std::vector<MobState> m_MobStates;
|
std::vector<MobState> m_MobStates;
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
namespace td {
|
namespace td {
|
||||||
namespace protocol {
|
namespace protocol {
|
||||||
|
|
||||||
class UpgradeTowerPacket : public Packet {
|
class UpgradeTowerPacket : public TimedPacket {
|
||||||
private:
|
private:
|
||||||
game::TowerID m_TowerID;
|
game::TowerID m_TowerID;
|
||||||
game::TowerLevel m_TowerLevel;
|
game::TowerLevel m_TowerLevel;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
namespace td {
|
namespace td {
|
||||||
namespace protocol {
|
namespace protocol {
|
||||||
|
|
||||||
class WorldAddTowerPacket : public Packet {
|
class WorldAddTowerPacket : public TimedPacket {
|
||||||
private:
|
private:
|
||||||
game::TowerID m_TowerID;
|
game::TowerID m_TowerID;
|
||||||
std::int32_t m_TowerX, m_TowerY;
|
std::int32_t m_TowerX, m_TowerY;
|
||||||
|
|||||||
Reference in New Issue
Block a user