Multinet 0.2
 
Loading...
Searching...
No Matches
Multinet.Server.GameServer Class Reference

Server implementation for the multiplayer game. More...

Inheritance diagram for Multinet.Server.GameServer:

Public Member Functions

delegate void StartServerFailedEventHandler (int error)
 Signal emitted when the server fails to start.
 
void SetConfiguration (ServerConfiguration newConfiguration)
 Sets the server configuration for the multiplayer game.
 
Error Start ()
 Starts the server.
 
void Stop ()
 Stops the server.
 

Properties

float TimerUpdateInterval [get]
 The interval in ms for syncing the server timer.
 

Detailed Description

Server implementation for the multiplayer game.

Member Function Documentation

◆ SetConfiguration()

void Multinet.Server.GameServer.SetConfiguration ( ServerConfiguration newConfiguration)

Sets the server configuration for the multiplayer game.

◆ Start()

Error Multinet.Server.GameServer.Start ( )

Starts the server.

◆ StartServerFailedEventHandler()

delegate void Multinet.Server.GameServer.StartServerFailedEventHandler ( int error)

Signal emitted when the server fails to start.

Parameters
errorThe error code from Godot Multiplayer API.

◆ Stop()

void Multinet.Server.GameServer.Stop ( )

Stops the server.

Property Documentation

◆ TimerUpdateInterval

float Multinet.Server.GameServer.TimerUpdateInterval
get

The interval in ms for syncing the server timer.


The documentation for this class was generated from the following file: