C# Class WorldServer.Districts.District

Show file Open project: fiki574/rAPB Class Usage Examples

Public Properties

Property Type Description
Criminals System.UInt16
Enforcers System.UInt16
IP String
Id Byte
Key System.UInt32
Port ushort
Queue System.UInt16

Public Methods

Method Description
District ( DistrictTypes type, Byte id, LanguageCodes langCode = LanguageCodes.EN ) : System
District ( TcpClient Tcp ) : System
GetState ( ) : DistrictState
GetStateAsString ( ) : String
Send ( Packet packet ) : void
SetSate ( DistrictState state ) : void
ToString ( ) : string
isFull ( ) : Byte

Method Details

District() public method

public District ( DistrictTypes type, Byte id, LanguageCodes langCode = LanguageCodes.EN ) : System
type DistrictTypes
id Byte
langCode LanguageCodes
return System

District() public method

public District ( TcpClient Tcp ) : System
Tcp System.Net.Sockets.TcpClient
return System

GetState() public method

public GetState ( ) : DistrictState
return DistrictState

GetStateAsString() public method

public GetStateAsString ( ) : String
return String

Send() public method

public Send ( Packet packet ) : void
packet WorldServer.Districts.WD.Packet
return void

SetSate() public method

public SetSate ( DistrictState state ) : void
state DistrictState
return void

ToString() public method

public ToString ( ) : string
return string

isFull() public method

public isFull ( ) : Byte
return Byte

Property Details

Criminals public property

public UInt16,System Criminals
return System.UInt16

Enforcers public property

public UInt16,System Enforcers
return System.UInt16

IP public property

public String IP
return String

Id public property

public Byte Id
return Byte

Key public property

public UInt32,System Key
return System.UInt32

Port public property

public ushort Port
return ushort

Queue public property

public UInt16,System Queue
return System.UInt16