Added callback to display player names of connected players.

This commit is contained in:
lotodore
2007-04-08 20:35:42 +00:00
parent e89b543a92
commit 07a0e01620
12 changed files with 32 additions and 8 deletions
+4
View File
@@ -21,6 +21,8 @@
#ifndef _SERVERCALLBACK_H_
#define _SERVERCALLBACK_H_
#include <string>
class ServerCallback
{
public:
@@ -28,6 +30,8 @@ public:
virtual void SignalNetServerSuccess(int actionID) = 0;
virtual void SignalNetServerError(int errorID, int osErrorID) = 0;
virtual void SignalNetServerPlayerJoined(const std::string &playerName) = 0;
};
#endif