C# Class Cakewalk.World

The heart of the server. Handles everybody connected.
Show file Open project: Cakez0r/Cakewalk

Public Methods

Method Description
GetNameForWorldID ( int worldID ) : string

Resolve a world ID to a name

Start ( ) : void

Start the world running.

Stop ( ) : void

Stop the world running

World ( ) : System

A whole neww worlddddddd!

Private Methods

Method Description
TCP_SocketConnected ( Socket socket ) : void

Event handler for TCP connections.

WorldUpdate ( ) : void

World update logic

Method Details

GetNameForWorldID() public method

Resolve a world ID to a name
public GetNameForWorldID ( int worldID ) : string
worldID int
return string

Start() public method

Start the world running.
public Start ( ) : void
return void

Stop() public method

Stop the world running
public Stop ( ) : void
return void

World() public method

A whole neww worlddddddd!
public World ( ) : System
return System