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

Inheritance: VMNetDriver
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
SandboxBans BanList

Méthodes publiques

Méthode Description
BanIP ( string ip ) : void
BanUser ( VM vm, string name ) : void
CloseNet ( ) : void
GetUserIP ( uint uid ) : string
KickUser ( VM vm, string name ) : void
OnPacket ( NetworkClient client, GonzoNet.ProcessedPacket packet ) : void
SendCommand ( VMNetCommandBodyAbstract cmd ) : void
Tick ( VM vm ) : bool
VMServerDriver ( int port, VMServerClosedHandler onShutdown ) : System

Private Methods

Méthode Description
Broadcast ( byte packet, HashSet ignore ) : void
HandleClients ( ) : void
LotDC ( NetworkClient Client ) : void
SendGenericMessage ( NetworkClient client, string title, string msg ) : void
SendLotState ( NetworkClient client ) : void
SendOneOff ( NetworkClient client, VMNetTick tick ) : void
SendState ( VM vm ) : void
SendTickBuffer ( ) : void

Method Details

BanIP() public méthode

public BanIP ( string ip ) : void
ip string
Résultat void

BanUser() public méthode

public BanUser ( VM vm, string name ) : void
vm VM
name string
Résultat void

CloseNet() public méthode

public CloseNet ( ) : void
Résultat void

GetUserIP() public méthode

public GetUserIP ( uint uid ) : string
uid uint
Résultat string

KickUser() public méthode

public KickUser ( VM vm, string name ) : void
vm VM
name string
Résultat void

OnPacket() public méthode

public OnPacket ( NetworkClient client, GonzoNet.ProcessedPacket packet ) : void
client GonzoNet.NetworkClient
packet GonzoNet.ProcessedPacket
Résultat void

SendCommand() public méthode

public SendCommand ( VMNetCommandBodyAbstract cmd ) : void
cmd FSO.SimAntics.NetPlay.Model.VMNetCommandBodyAbstract
Résultat void

Tick() public méthode

public Tick ( VM vm ) : bool
vm VM
Résultat bool

VMServerDriver() public méthode

public VMServerDriver ( int port, VMServerClosedHandler onShutdown ) : System
port int
onShutdown VMServerClosedHandler
Résultat System

Property Details

SandboxBans public_oe property

public BanList SandboxBans
Résultat BanList