C# Class ManicDigger.NetworkClientDummy

Inheritance: INetworkClient
Exibir arquivo Open project: GlennMR/800Craft-Client Class Usage Examples

Public Properties

Property Type Description
DEFAULTMAP string

Private Properties

Property Type Description
playerMessage void

Public Methods

Method Description
Connect ( string serverAddress, int port, string username, string auth ) : void
ConnectedPlayers ( ) : IEnumerable
Dispose ( ) : void
DoGenerate ( string mode, bool hollow ) : void
Process ( ) : void
SendChat ( string s ) : void
SendPosition ( Vector3 position, Vector3 orientation ) : void
SendSetBlock ( Vector3 position, BlockSetMode mode, int type ) : void

Private Methods

Method Description
playerMessage ( string p ) : void

Method Details

Connect() public method

public Connect ( string serverAddress, int port, string username, string auth ) : void
serverAddress string
port int
username string
auth string
return void

ConnectedPlayers() public method

public ConnectedPlayers ( ) : IEnumerable
return IEnumerable

Dispose() public method

public Dispose ( ) : void
return void

DoGenerate() public method

public DoGenerate ( string mode, bool hollow ) : void
mode string
hollow bool
return void

Process() public method

public Process ( ) : void
return void

SendChat() public method

public SendChat ( string s ) : void
s string
return void

SendPosition() public method

public SendPosition ( Vector3 position, Vector3 orientation ) : void
position Vector3
orientation Vector3
return void

SendSetBlock() public method

public SendSetBlock ( Vector3 position, BlockSetMode mode, int type ) : void
position Vector3
mode BlockSetMode
type int
return void

Property Details

DEFAULTMAP public_oe property

public string DEFAULTMAP
return string