fix predictpacket serialization
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
|
||||
#include <memory>
|
||||
#include <sp/common/GenericHandler.h>
|
||||
#include <sp/protocol/ConcreteMessage.h>
|
||||
#include <sp/protocol/MessageDispatcher.h>
|
||||
#include <sp/protocol/MessageFactory.h>
|
||||
#include <sp/common/GenericHandler.h>
|
||||
#include <td/Types.h>
|
||||
#include <td/common/NonCopyable.h>
|
||||
#include <td/protocol/command/CommandData.h>
|
||||
@@ -32,6 +32,8 @@ class CommandHandler;
|
||||
|
||||
using CommandBase = sp::MessageBase<CommandID, CommandHandler>;
|
||||
|
||||
using CommandPtr = std::unique_ptr<CommandBase>;
|
||||
|
||||
template <typename TData, CommandID ID>
|
||||
using CommandMessage = sp::ConcreteMessage<TData, CommandBase, ID>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user