Show / Hide Table of Contents

Class Server

Inheritance
System.Object
Server
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Pigeoneer
Assembly: Trail.dll
Syntax
public static class Server

Methods

RunLoopIteration()

Runs an iteration of the event loop, allowing Pigeoneer to process incoming messages and fire callbacks. Depending on your setup, your game backend should call this method once every server tick.

Declaration
public static void RunLoopIteration()

Start(Server.Config, out Server.Instance)

Starts a new pigeoneer server instance and returns it in the instance output parameter.

Declaration
public static Result Start(Server.Config config, out Server.Instance instance)
Parameters
Type Name Description
Server.Config config

The server configuration.

Server.Instance instance

Output parameter for the Pigeoneer server instance.

Returns
Type Description
Result

Ok, TCPOnly, SSLFailure, FailedToListen

Back to top Generated by DocFX