C# Class SagaLogin.CharServer

Show file Open project: Willyham/SagaRO2 Class Usage Examples

Public Properties

Property Type Description
charDB ActorDB
mapServers List
ping Status
playerCount byte
worldID byte
worldname string

Public Methods

Method Description
AddMapServer ( MapServer newServer ) : void
CharServer ( string worldName, byte mPing, byte mPlayerCount, byte worldID, ActorDB charDB ) : System
DeleteMapServer ( MapServer delServer ) : void
GetMapServer ( int mapID ) : MapServer
GetPing ( ) : Status
GetPlayerCount ( ) : int
MapsAreNotHostedYet ( int hostedMaps ) : bool

Method Details

AddMapServer() public method

public AddMapServer ( MapServer newServer ) : void
newServer MapServer
return void

CharServer() public method

public CharServer ( string worldName, byte mPing, byte mPlayerCount, byte worldID, ActorDB charDB ) : System
worldName string
mPing byte
mPlayerCount byte
worldID byte
charDB ActorDB
return System

DeleteMapServer() public method

public DeleteMapServer ( MapServer delServer ) : void
delServer MapServer
return void

GetMapServer() public method

public GetMapServer ( int mapID ) : MapServer
mapID int
return MapServer

GetPing() public method

public GetPing ( ) : Status
return Status

GetPlayerCount() public method

public GetPlayerCount ( ) : int
return int

MapsAreNotHostedYet() public method

public MapsAreNotHostedYet ( int hostedMaps ) : bool
hostedMaps int
return bool

Property Details

charDB public property

public ActorDB charDB
return ActorDB

mapServers public property

public List mapServers
return List

ping public property

public Status ping
return Status

playerCount public property

public byte playerCount
return byte

worldID public property

public byte worldID
return byte

worldname public property

public string worldname
return string