Misc - EventHandler

This commit is contained in:
Pontus Fransson 2014-01-31 11:28:01 +01:00
parent e3376eba7c
commit 8ee8374169
9 changed files with 10 additions and 2 deletions

View File

@ -130,8 +130,8 @@ namespace DanBias
break; break;
case protocol_Lobby_GameData: //this->LobbyGameData (Protocol_LobbyGameData (p), c); case protocol_Lobby_GameData: //this->LobbyGameData (Protocol_LobbyGameData (p), c);
{ {
GameLogic::Protocol_LobbyGameData temp(p); //GameLogic::Protocol_LobbyGameData temp(p);
printf("%s, %i.%i\n", temp.mapName.c_str(), temp.majorVersion, temp.minorVersion); //printf("%s, %i.%i\n", temp.mapName.c_str(), temp.majorVersion, temp.minorVersion);
} }
break; break;
case protocol_Lobby_ClientData: //this->LobbyMainData (Protocol_LobbyClientData (p), c); case protocol_Lobby_ClientData: //this->LobbyMainData (Protocol_LobbyClientData (p), c);

View File

View File

View File

View File

View File

@ -146,6 +146,7 @@
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="MessageHandler\MessageHandler.cpp" />
<ClCompile Include="Packing\Packing.cpp" /> <ClCompile Include="Packing\Packing.cpp" />
<ClCompile Include="Resource\Loaders\ByteLoader.cpp" /> <ClCompile Include="Resource\Loaders\ByteLoader.cpp" />
<ClCompile Include="Resource\Loaders\CustomLoader.cpp" /> <ClCompile Include="Resource\Loaders\CustomLoader.cpp" />
@ -164,6 +165,7 @@
<ClInclude Include="DynamicArray.h" /> <ClInclude Include="DynamicArray.h" />
<ClInclude Include="GID.h" /> <ClInclude Include="GID.h" />
<ClInclude Include="IQueue.h" /> <ClInclude Include="IQueue.h" />
<ClInclude Include="MessageHandler\MessageHandler.h" />
<ClInclude Include="OysterCallback.h" /> <ClInclude Include="OysterCallback.h" />
<ClInclude Include="Packing\Packing.h" /> <ClInclude Include="Packing\Packing.h" />
<ClInclude Include="PostBox\IPostBox.h" /> <ClInclude Include="PostBox\IPostBox.h" />

View File

@ -51,6 +51,9 @@
<ClCompile Include="Packing\Packing.cpp"> <ClCompile Include="Packing\Packing.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="MessageHandler\MessageHandler.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="Utilities.h"> <ClInclude Include="Utilities.h">
@ -116,5 +119,8 @@
<ClInclude Include="Packing\Packing.h"> <ClInclude Include="Packing\Packing.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="MessageHandler\MessageHandler.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>