first commit
This commit is contained in:
53
include/sp/protocol/command/CommandData.h
Normal file
53
include/sp/protocol/command/CommandData.h
Normal file
@@ -0,0 +1,53 @@
|
||||
// #pragma once
|
||||
|
||||
// #include <array>
|
||||
// #include <string>
|
||||
// #include <sp/Types.h>
|
||||
|
||||
// namespace sp {
|
||||
// namespace protocol {
|
||||
|
||||
// namespace cdata {
|
||||
|
||||
|
||||
// struct PlaceTower {
|
||||
// TowerType m_Type : 4;
|
||||
// PlayerID m_Placer : 4;
|
||||
// TowerCoords m_Position;
|
||||
// };
|
||||
|
||||
// struct UpgradeTower {
|
||||
// TowerID m_Tower : 12;
|
||||
// std::uint8_t m_Upgrade : 4;
|
||||
// };
|
||||
|
||||
// struct SpawnTroop {
|
||||
// EntityType m_Type : 5;
|
||||
// std::uint8_t m_Level : 3;
|
||||
// EntityCoords m_Position;
|
||||
// PlayerID m_Sender;
|
||||
// };
|
||||
|
||||
// struct UseItem {
|
||||
// ShopItem m_Item : 4;
|
||||
// PlayerID m_User : 4;
|
||||
// EntityCoords m_Position;
|
||||
// };
|
||||
|
||||
// struct TeamChange {
|
||||
// PlayerID m_Player : 7;
|
||||
// Team m_NewTeam : 1;
|
||||
// };
|
||||
|
||||
// struct PlayerJoin {
|
||||
// PlayerID m_ID;
|
||||
// std::string m_Name;
|
||||
// };
|
||||
|
||||
// struct End {};
|
||||
|
||||
// } // namespace cdata
|
||||
|
||||
|
||||
// } // namespace protocol
|
||||
// } // namespace sp
|
||||
Reference in New Issue
Block a user