C# Class WorldServer.Districts.District

Mostra 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_oe property

public UInt16,System Criminals
return System.UInt16

Enforcers public_oe property

public UInt16,System Enforcers
return System.UInt16

IP public_oe property

public String IP
return String

Id public_oe property

public Byte Id
return Byte

Key public_oe property

public UInt32,System Key
return System.UInt32

Port public_oe property

public ushort Port
return ushort

Queue public_oe property

public UInt16,System Queue
return System.UInt16