C# Class OTAPI.Callbacks.Terraria.Netplay

显示文件 Open project: DeathCradle/Open-Terraria-API

Public Methods

Method Description
OnConnectionAccepted ( ISocket client ) : bool

Private Methods

Method Description
ServerSocketCreate ( ) : global::Terraria.Net.Sockets.ISocket

This method replaces the "new TcpSocket" call in server loop, allowing custom server socket implementations.

Method Details

OnConnectionAccepted() public static method

public static OnConnectionAccepted ( ISocket client ) : bool
client ISocket
return bool