Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/network/ClientConnectionListener.cc @ 1939

Last change on this file since 1939 was 1939, checked in by scheusso, 16 years ago

forgot some things

  • Property svn:eol-style set to native
File size: 550 bytes
Line 
1#include "ClientConnectionListener.h"
2#include "core/CoreIncludes.h"
3#include "Settings.h"
4
5namespace network{
6
7  ClientConnectionListener::ClientConnectionListener()
8  { 
9    RegisterRootObject(ClientConnectionListener); 
10  }
11
12  void ClientConnectionListener::getConnectedClients(){
13    if(orxonox::Settings::showsGraphics())
14      this->clientConnected(0); //server client id
15    ClientInformation *client = ClientInformation::getBegin();
16    while(client){
17      this->clientConnected(client->getID());
18      client=client->next();
19    }
20  }
21
22}
23
24
Note: See TracBrowser for help on using the repository browser.