finish serialize
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <td/Types.h>
|
||||
#include <array>
|
||||
|
||||
namespace td {
|
||||
namespace protocol {
|
||||
@@ -11,13 +11,13 @@ namespace cdata {
|
||||
|
||||
|
||||
struct PlaceTower {
|
||||
CastleType m_Type : 4;
|
||||
TowerType m_Type : 4;
|
||||
PlayerID m_Placer : 4;
|
||||
CastleCoords m_Position;
|
||||
TowerCoords m_Position;
|
||||
};
|
||||
|
||||
struct UpgradeTower {
|
||||
CastleID m_Tower : 12;
|
||||
TowerID m_Tower : 12;
|
||||
std::uint8_t m_Upgrade : 4;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user