C# Class FSO.SimAntics.NetPlay.VMNetDriver

Mostrar archivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
CloseReason VMCloseNetReason
ExceptionOnDesync bool
GlobalLink IVMTSOGlobalLink

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

Protected Methods

Method Description
InternalTick ( VM vm, VMNetTick tick ) : void

Method Details

CloseNet() public abstract method

public abstract CloseNet ( ) : void
return void

GetUserIP() public abstract method

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

InternalTick() protected method

protected InternalTick ( VM vm, VMNetTick tick ) : void
vm VM
tick FSO.SimAntics.NetPlay.Model.VMNetTick
return void

OnPacket() public abstract method

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

SendCommand() public abstract method

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

Tick() public abstract method

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

Property Details

CloseReason public_oe property

public VMCloseNetReason CloseReason
return VMCloseNetReason

ExceptionOnDesync public_oe property

public bool ExceptionOnDesync
return bool

GlobalLink public_oe property

public IVMTSOGlobalLink GlobalLink
return IVMTSOGlobalLink