Skip to content

SimpleTCPPack<TConnector> ​

Base class for simple TCP/HTTP/WebSocket/etc effect packs.

Kind: Abstract class

Namespace: CrowdControl.Games.Packs

Inheritance: SimplePipelinePack\<TConnector\> → IDisposable → IEffectPack → IEffectPack → IEffectPack\<TConnector\> → ISimplePipelinePack → ISimpleTCPPack

Public Member Functions

virtual override

void

SetConnectionInfo(HostString host, string login, string password)

void

OnMessageParsed(ISimpleTCPConnector sender, SimpleJSONResponse e, IConnectionContext context)

Properties

string

Host

[get, ]

ushort

Port

[get, ]

ushort

DefaultPort

[get, ]

Default port on the server to connect to.