Created
October 4, 2018 20:39
-
-
Save ChristianHohlfeld/fdaf011d7a37a207da02d050eeb9ae97 to your computer and use it in GitHub Desktop.
GameAdapter.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GameAdapter.cpp | |
// UDPTEST | |
// | |
// Created by Christian Hohlfeld on 16.09.18. | |
// | |
#include <stdio.h> | |
#include "GameAdapter.h" | |
#include "GameServer.h" | |
void GameAdapter::OnServerClientConnected(int clientIndex) { | |
if (m_game_serverRef != NULL) { | |
m_game_serverRef->ClientConnected(clientIndex); | |
} | |
} | |
void GameAdapter::OnServerClientDisconnected(int clientIndex) { | |
if (m_game_serverRef != NULL) { | |
m_game_serverRef->ClientDisconnected(clientIndex); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment