current stand
This commit is contained in:
@@ -22,7 +22,7 @@ struct GameConnectionConfig : yojimbo::ClientServerConfig
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// a simple test message
|
// message types
|
||||||
enum class GameMessageType
|
enum class GameMessageType
|
||||||
{
|
{
|
||||||
TEST,
|
TEST,
|
||||||
@@ -105,7 +105,6 @@ public:
|
|||||||
YOJIMBO_VIRTUAL_SERIALIZE_FUNCTIONS();
|
YOJIMBO_VIRTUAL_SERIALIZE_FUNCTIONS();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// the message factory
|
// the message factory
|
||||||
YOJIMBO_MESSAGE_FACTORY_START(GameMessageFactory, (int)GameMessageType::COUNT);
|
YOJIMBO_MESSAGE_FACTORY_START(GameMessageFactory, (int)GameMessageType::COUNT);
|
||||||
YOJIMBO_DECLARE_MESSAGE_TYPE((int)GameMessageType::TEST, TestMessage);
|
YOJIMBO_DECLARE_MESSAGE_TYPE((int)GameMessageType::TEST, TestMessage);
|
||||||
|
|||||||
Reference in New Issue
Block a user