C# Class ClientNetworkConnection, tf_client

Inheritance: NetworkConnection
显示文件 Open project: wids-eria/tf_client Class Usage Examples

Protected Properties

Property Type Description
connection Client,
decoders ServerCommandDecoderBase>.Dictionary

Public Methods

Method Description
ConnectTo ( string addr, int port ) : void
Send ( byte data ) : void

Protected Methods

Method Description
Awake ( ) : void
FindDecoder ( int numParams ) : ServerCommandDecoderBase,
OnReceive ( byte data ) : void
OpenConnection ( string addr, int port ) : IEnumerator
Start ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

ConnectTo() public method

public ConnectTo ( string addr, int port ) : void
addr string
port int
return void

FindDecoder() protected method

protected FindDecoder ( int numParams ) : ServerCommandDecoderBase,
numParams int
return ServerCommandDecoderBase,

OnReceive() protected method

protected OnReceive ( byte data ) : void
data byte
return void

OpenConnection() protected method

protected OpenConnection ( string addr, int port ) : IEnumerator
addr string
port int
return IEnumerator

Send() public method

public Send ( byte data ) : void
data byte
return void

Start() protected method

protected Start ( ) : void
return void

Property Details

connection protected_oe property

protected Client, connection
return Client,

decoders protected_oe property

protected Dictionary decoders
return ServerCommandDecoderBase>.Dictionary