C# Класс GameState4Net.GameStateServer

Наследование: Grapevine.Server.RESTServer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddGameState ( string json ) : void
GameStateServer ( Grapevine.Server.Config config ) : Grapevine.Server
GameStateServer ( string host = "localhost", string port = "1234", string protocol = "http", string dirindex = "index.html", string webroot = null, int maxthreads = 5 ) : Grapevine.Server
RegisterGameStateCallback ( Action callback ) : void

Callbacks will most certainly be called from a thread different than the main thread

Описание методов

AddGameState() публичный Метод

public AddGameState ( string json ) : void
json string
Результат void

GameStateServer() публичный Метод

public GameStateServer ( Grapevine.Server.Config config ) : Grapevine.Server
config Grapevine.Server.Config
Результат Grapevine.Server

GameStateServer() публичный Метод

public GameStateServer ( string host = "localhost", string port = "1234", string protocol = "http", string dirindex = "index.html", string webroot = null, int maxthreads = 5 ) : Grapevine.Server
host string
port string
protocol string
dirindex string
webroot string
maxthreads int
Результат Grapevine.Server

RegisterGameStateCallback() публичный Метод

Callbacks will most certainly be called from a thread different than the main thread
public RegisterGameStateCallback ( Action callback ) : void
callback Action
Результат void