declare packets + commands
This commit is contained in:
@@ -2,25 +2,11 @@
|
||||
|
||||
#include <string>
|
||||
#include <td/Types.h>
|
||||
#include <array>
|
||||
|
||||
namespace td {
|
||||
namespace protocol {
|
||||
|
||||
#define LOCKSTEP_BUFFER_SIZE 10
|
||||
|
||||
struct LockStepCommand {};
|
||||
|
||||
struct LockStep {
|
||||
std::uint8_t m_CommandNumber;
|
||||
std::vector<LockStepCommand> m_Commands;
|
||||
};
|
||||
|
||||
struct LockSteps {
|
||||
std::uint16_t m_FirstFrameNumber;
|
||||
std::array<LockStep, LOCKSTEP_BUFFER_SIZE> m_LockSteps;
|
||||
};
|
||||
|
||||
|
||||
namespace cdata {
|
||||
|
||||
|
||||
@@ -58,6 +44,8 @@ struct PlayerJoin {
|
||||
std::string m_Name;
|
||||
};
|
||||
|
||||
struct End {};
|
||||
|
||||
} // namespace cdata
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user