C# 클래스 GameState4Net.GameStateServer

상속: Grapevine.Server.RESTServer
파일 보기 프로젝트 열기: mworchel/GameState4Net 1 사용 예제들

공개 메소드들

메소드 설명
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