ゲームのMod API ドキュメントへようこそ。
English | 日本語
const ws = new WebSocket("ws://127.0.0.1:9877"); ws.onopen = () => { ws.send(JSON.stringify({ jsonrpc: "2.0", id: 1, method: "game.version", params: {} })); }; ws.onmessage = (event) => { console.log(JSON.parse(event.data)); };
利用可能な関数は WASMホスト関数 を参照してください。
ソースコードから自動生成
There was an error while loading. Please reload this page.
Mod Types
Reference