sync player when joining mid game

This commit is contained in:
2023-08-26 11:49:52 +02:00
parent 808ef7b3f6
commit bb76e9493f
2 changed files with 16 additions and 1 deletions

View File

@@ -13,7 +13,6 @@ enum class PacketType : std::uint8_t {
// client --> server
PlayerLogin = 0,
SelectTeam,
SpawnMob,
SendMobs,
PlaceTower,
@@ -33,6 +32,7 @@ enum class PacketType : std::uint8_t {
WorldAddTower,
UpdateMobStates,
UpdateCastleLife,
SpawnMob,
RemoveMob,
// client <--> server