◆ ErrorJsonResponse()
| string Game.JsInterface.ErrorJsonResponse |
( |
string | error | ) |
|
|
static |
◆ Evaluate() [1/2]
| string Game.JsInterface.Evaluate |
( |
Prepared< Script > | script | ) |
|
|
static |
◆ Evaluate() [2/2]
| string Game.JsInterface.Evaluate |
( |
string | str | ) |
|
|
static |
◆ Execute() [1/2]
| void Game.JsInterface.Execute |
( |
Prepared< Script > | script | ) |
|
|
static |
◆ Execute() [2/2]
| void Game.JsInterface.Execute |
( |
string | str | ) |
|
|
static |
◆ GetAndRegisterHandlers()
| void Game.JsInterface.GetAndRegisterHandlers |
( |
string | handlesName | ) |
|
|
static |
◆ GetHandlers()
| List< Function > Game.JsInterface.GetHandlers |
( |
string | str | ) |
|
|
static |
◆ HandleHttpRequest()
| async void Game.JsInterface.HandleHttpRequest |
( |
HttpListenerContext | context | ) |
|
|
static |
◆ Initiate()
| void Game.JsInterface.Initiate |
( |
| ) |
|
|
static |
◆ Invoke() [1/2]
| JsValue Game.JsInterface.Invoke |
( |
JsValue | jsValue, |
|
|
params object[] | arguments ) |
|
static |
◆ Invoke() [2/2]
| JsValue Game.JsInterface.Invoke |
( |
string | str, |
|
|
params object[] | arguments ) |
|
static |
◆ RegisterEvent()
| void Game.JsInterface.RegisterEvent |
( |
| ) |
|
|
static |
◆ SetHttpPort()
| void Game.JsInterface.SetHttpPort |
( |
int | port, |
|
|
bool | updateConfig = false ) |
|
static |
◆ StartHttpListener()
| async Task Game.JsInterface.StartHttpListener |
( |
| ) |
|
|
static |
◆ StopHttpListener()
| void Game.JsInterface.StopHttpListener |
( |
| ) |
|
|
static |
◆ Update()
| void Game.JsInterface.Update |
( |
| ) |
|
|
static |
◆ engine
◆ fName
| const string Game.JsInterface.fName = "JsInterface" |
|
static |
◆ handlersDictionary
| Dictionary<string, List<Function> > Game.JsInterface.handlersDictionary |
|
static |
◆ httpListener
| HttpListener Game.JsInterface.httpListener |
|
static |
◆ httpPassword
| string Game.JsInterface.httpPassword |
|
static |
◆ httpPort
| int Game.JsInterface.httpPort |
|
static |
◆ httpProcessing
| bool Game.JsInterface.httpProcessing |
|
static |
◆ httpResponse
| TaskCompletionSource<HttpResponse> Game.JsInterface.httpResponse = new() |
|
static |
◆ httpScript
| Prepared<Script> Game.JsInterface.httpScript |
|
static |
◆ httpScriptPrepared
| bool Game.JsInterface.httpScriptPrepared |
|
static |
◆ loader
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/JsInterface.cs