Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/network/ClientConnectionListener.cc @ 2087

Last change on this file since 2087 was 2087, checked in by landauf, 16 years ago

merged objecthierarchy branch back to trunk

  • Property svn:eol-style set to native
File size: 547 bytes
Line 
1#include "ClientConnectionListener.h"
2#include "core/CoreIncludes.h"
3#include "core/Core.h"
4
5namespace network{
6
7  ClientConnectionListener::ClientConnectionListener()
8  { 
9    RegisterRootObject(ClientConnectionListener); 
10  }
11
12  void ClientConnectionListener::getConnectedClients(){
13    if(orxonox::Core::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.