C# Class UlteriusServer.Api.Network.Messages.Packet

Mostrar archivo Open project: Ulterius/server Class Usage Examples

Public Properties

Property Type Description
Args List
AuthClient UlteriusServer.WebSocketAPI.Authentication.AuthClient
Client vtortola.WebSockets.WebSocket
EndPoint string
PacketType PacketTypes
SyncKey string

Public Methods

Method Description
HandlePacket ( ) : void

Executes a packet based on its handler

Packet ( AuthClient authClient, WebSocket client, string endPoint, string syncKey, List args, PacketTypes packetType, Type packetHandler ) : System

Create a packet

Method Details

HandlePacket() public method

Executes a packet based on its handler
public HandlePacket ( ) : void
return void

Packet() public method

Create a packet
public Packet ( AuthClient authClient, WebSocket client, string endPoint, string syncKey, List args, PacketTypes packetType, Type packetHandler ) : System
authClient UlteriusServer.WebSocketAPI.Authentication.AuthClient
client vtortola.WebSockets.WebSocket
endPoint string
syncKey string
args List
packetType PacketTypes
packetHandler System.Type
return System

Property Details

Args public_oe property

public List Args
return List

AuthClient public_oe property

public AuthClient,UlteriusServer.WebSocketAPI.Authentication AuthClient
return UlteriusServer.WebSocketAPI.Authentication.AuthClient

Client public_oe property

public WebSocket,vtortola.WebSockets Client
return vtortola.WebSockets.WebSocket

EndPoint public_oe property

public string EndPoint
return string

PacketType public_oe property

public PacketTypes PacketType
return PacketTypes

SyncKey public_oe property

public string SyncKey
return string