Files
Blitz2/include/blitz/protocol/PacketData.h

50 lines
632 B
C++

#pragma once
#include <string>
namespace blitz {
namespace protocol {
namespace data {
struct PlayerLogin {
std::string m_PlayerName;
};
struct UpdateHealth {
float m_NewHealth;
};
struct LoggingSuccess {};
struct PlayerDeath {};
struct PlayerJoin {};
struct PlayerLeave {};
struct PlayerStats {};
struct PlayerList {};
struct ServerConfig {};
struct ServerTps {};
struct UpdateGameState {};
struct KeepAlive {};
struct Disconnect {};
struct ChatMessage {
std::string m_Text;
};
struct PlayerPositionAndRotation {};
struct PlayerShoot {};
} // namespace data
} // namespace protocol
} // namespace blitz