Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

StepManiaLanServer Class Reference

#include <NetworkSyncServer.h>

Collaboration diagram for StepManiaLanServer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool ServerStart ()
void ServerStop ()
void ServerUpdate ()
 StepManiaLanServer ()
 ~StepManiaLanServer ()

Public Attributes

CString servername
CString lastError
int lastErrorCode

Private Member Functions

void Hello (PacketFunctions &Packet, const unsigned int clientNum)
void UpdateClients ()
void NewClientCheck ()
void ParseData (PacketFunctions &Packet, const unsigned int clientNum)
void SendValue (uint8_t value, const unsigned int clientNum)
void CheckReady ()
void MoveClientToHost ()
void StatsComboColumn (PacketFunctions &data, vector< LanPlayer * > &playresPtr)
void SendStatsToClients ()
void StatsProjgradeColumn (PacketFunctions &data, vector< LanPlayer * > &playresPtr)
void StatsNameColumn (PacketFunctions &data, vector< LanPlayer * > &playresPtr)
void SendNetPacket (const unsigned int clientNum, PacketFunctions &Packet)
int SortStats (vector< LanPlayer * > &playresPtr)
void RelayChat (CString &passedmessage, const unsigned int clientNum)
void SelectSong (PacketFunctions &Packet, const unsigned int clientNum)
void ServerChat (const CString &message)
void SendToAllClients (PacketFunctions &Packet)
bool CheckHasSongState ()
void ClearHasSong ()
void AssignPlayerIDs ()
void SendUserList ()
void GameOver (PacketFunctions &Packet, const unsigned int clientNum)
void ScreenNetMusicSelectStatus (PacketFunctions &Packet, const unsigned int clientNum)
void AnalizeChat (PacketFunctions &Packet, const unsigned int clientNum)
CString ListPlayers ()
void Kick (CString &name)
void Ban (CString &name)
bool IsBanned (CString &ip)
void ForceStart ()
void CheckLowerJudge (const unsigned int clientNum)
bool CheckConnection (const unsigned int clientNum)
void PopulatePlayersPtr (vector< LanPlayer * > &playersPtr)
void Disconnect (const unsigned int clientNum)
void ClientsSongSelectStart ()
void ResetLastSongInfo ()

Private Attributes

bool stop
PacketFunctions Packet
PacketFunctions Reply
vector< GameClient * > Client
EzSockets server
int ClientHost
vector< LanPlayer * > playersPtr
time_t statsTime
GameInfo CurrentSongInfo
GameInfo LastSongInfo
bool SecondSameSelect
vector< CString > bannedIPs

Constructor & Destructor Documentation

StepManiaLanServer::StepManiaLanServer  ) 
 

StepManiaLanServer::~StepManiaLanServer  ) 
 


Member Function Documentation

void StepManiaLanServer::AnalizeChat PacketFunctions Packet,
const unsigned int  clientNum
[private]
 

void StepManiaLanServer::AssignPlayerIDs  )  [private]
 

void StepManiaLanServer::Ban CString &  name  )  [private]
 

bool StepManiaLanServer::CheckConnection const unsigned int  clientNum  )  [private]
 

bool StepManiaLanServer::CheckHasSongState  )  [private]
 

void StepManiaLanServer::CheckLowerJudge const unsigned int  clientNum  )  [private]
 

void StepManiaLanServer::CheckReady  )  [private]
 

void StepManiaLanServer::ClearHasSong  )  [private]
 

void StepManiaLanServer::ClientsSongSelectStart  )  [private]
 

void StepManiaLanServer::Disconnect const unsigned int  clientNum  )  [private]
 

void StepManiaLanServer::ForceStart  )  [private]
 

void StepManiaLanServer::GameOver PacketFunctions Packet,
const unsigned int  clientNum
[private]
 

void StepManiaLanServer::Hello PacketFunctions Packet,
const unsigned int  clientNum
[private]
 

bool StepManiaLanServer::IsBanned CString &  ip  )  [private]
 

void StepManiaLanServer::Kick CString &  name  )  [private]
 

CString StepManiaLanServer::ListPlayers  )  [private]
 

void StepManiaLanServer::MoveClientToHost  )  [private]
 

void StepManiaLanServer::NewClientCheck  )  [private]
 

void StepManiaLanServer::ParseData PacketFunctions Packet,
const unsigned int  clientNum
[private]
 

void StepManiaLanServer::PopulatePlayersPtr vector< LanPlayer * > &  playersPtr  )  [private]
 

void StepManiaLanServer::RelayChat CString &  passedmessage,
const unsigned int  clientNum
[private]
 

void StepManiaLanServer::ResetLastSongInfo  )  [private]
 

void StepManiaLanServer::ScreenNetMusicSelectStatus PacketFunctions Packet,
const unsigned int  clientNum
[private]
 

void StepManiaLanServer::SelectSong PacketFunctions Packet,
const unsigned int  clientNum
[private]
 

void StepManiaLanServer::SendNetPacket const unsigned int  clientNum,
PacketFunctions Packet
[private]
 

void StepManiaLanServer::SendStatsToClients  )  [private]
 

void StepManiaLanServer::SendToAllClients PacketFunctions Packet  )  [private]
 

void StepManiaLanServer::SendUserList  )  [private]
 

void StepManiaLanServer::SendValue uint8_t  value,
const unsigned int  clientNum
[private]
 

void StepManiaLanServer::ServerChat const CString &  message  )  [private]
 

bool StepManiaLanServer::ServerStart  ) 
 

void StepManiaLanServer::ServerStop  ) 
 

void StepManiaLanServer::ServerUpdate  ) 
 

int StepManiaLanServer::SortStats vector< LanPlayer * > &  playresPtr  )  [private]
 

void StepManiaLanServer::StatsComboColumn PacketFunctions data,
vector< LanPlayer * > &  playresPtr
[private]
 

void StepManiaLanServer::StatsNameColumn PacketFunctions data,
vector< LanPlayer * > &  playresPtr
[private]
 

void StepManiaLanServer::StatsProjgradeColumn PacketFunctions data,
vector< LanPlayer * > &  playresPtr
[private]
 

void StepManiaLanServer::UpdateClients  )  [private]
 


Member Data Documentation

vector<CString> StepManiaLanServer::bannedIPs [private]
 

vector<GameClient*> StepManiaLanServer::Client [private]
 

int StepManiaLanServer::ClientHost [private]
 

GameInfo StepManiaLanServer::CurrentSongInfo [private]
 

CString StepManiaLanServer::lastError
 

int StepManiaLanServer::lastErrorCode
 

GameInfo StepManiaLanServer::LastSongInfo [private]
 

PacketFunctions StepManiaLanServer::Packet [private]
 

vector<LanPlayer*> StepManiaLanServer::playersPtr [private]
 

PacketFunctions StepManiaLanServer::Reply [private]
 

bool StepManiaLanServer::SecondSameSelect [private]
 

EzSockets StepManiaLanServer::server [private]
 

CString StepManiaLanServer::servername
 

time_t StepManiaLanServer::statsTime [private]
 

bool StepManiaLanServer::stop [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:04:36 2005 for StepMania by doxygen 1.3.7