C# Class FSO.SimAntics.NetPlay.Drivers.VMClientDriver

Inheritance: VMNetDriver
Datei anzeigen Open project: RHY3756547/FreeSO Class Usage Examples

Public Methods

Method Description
CloseNet ( ) : void
GetUserIP ( uint uid ) : string
OnPacket ( NetworkClient client, GonzoNet.ProcessedPacket packet ) : void
SendCommand ( VMNetCommandBodyAbstract cmd ) : void
Tick ( VM vm ) : bool
VMClientDriver ( string hostName, int port, OnStateChangeDelegate callback ) : System

Private Methods

Method Description
Client_OnConnected ( GonzoNet.LoginArgsContainer LoginArgs ) : void
Client_OnDisconnect ( ) : void
HandleNet ( ) : void
SendToServer ( VMNetCommandBodyAbstract cmd ) : void

Method Details

CloseNet() public method

public CloseNet ( ) : void
return void

GetUserIP() public method

public GetUserIP ( uint uid ) : string
uid uint
return string

OnPacket() public method

public OnPacket ( NetworkClient client, GonzoNet.ProcessedPacket packet ) : void
client GonzoNet.NetworkClient
packet GonzoNet.ProcessedPacket
return void

SendCommand() public method

public SendCommand ( VMNetCommandBodyAbstract cmd ) : void
cmd FSO.SimAntics.NetPlay.Model.VMNetCommandBodyAbstract
return void

Tick() public method

public Tick ( VM vm ) : bool
vm VM
return bool

VMClientDriver() public method

public VMClientDriver ( string hostName, int port, OnStateChangeDelegate callback ) : System
hostName string
port int
callback OnStateChangeDelegate
return System