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

Show file 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 property

public List Args
return List

AuthClient public property

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

Client public property

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

EndPoint public property

public string EndPoint
return string

PacketType public property

public PacketTypes PacketType
return PacketTypes

SyncKey public property

public string SyncKey
return string