oriverse-engine 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +30 -30
- package/README.md +11 -8
- package/dist/CODEX_PROMPT.md +9 -9
- package/dist/GAME_AUTHORING.md +24 -15
- package/dist/examples/coin_collector.weave +73 -70
- package/dist/examples/dodge_blocks.weave +73 -70
- package/dist/examples/target_range.weave +85 -82
- package/dist/ktx_bridge.js +130 -121
- package/dist/oriverse_wgpu.d.ts +38 -36
- package/dist/oriverse_wgpu.js +173 -118
- package/dist/oriverse_wgpu_bg.wasm +0 -0
- package/dist/oriverse_wgpu_bg.wasm.d.ts +38 -36
- package/dist/shader_prewarm_manifest.json +1 -1
- package/dist/snippets/oriverse_market_client-0cd3013288f3c49c/inline0.js +2 -34
- package/dist/snippets/oriverse_market_client-0cd3013288f3c49c/inline2.js +36 -0
- package/dist/snippets/oriverse_networking_shared-e43478064e11e46c/inline1.js +2 -1
- package/dist/snippets/oriverse_wgpu-255445ce6d9a0851/inline1.js +26 -58
- package/dist/snippets/oriverse_wgpu-255445ce6d9a0851/inline2.js +58 -26
- package/dist/starter/AGENTS.md +2 -2
- package/dist/starter/CLAUDE.md +2 -2
- package/dist/starter/game.html +6 -6
- package/dist/templates/game_cdn.html +6 -6
- package/dist/weave_documentation.txt +510 -190
- package/package.json +6 -1
|
@@ -1,82 +1,85 @@
|
|
|
1
|
-
// Target Range — aim at the floating spheres and left-click to score. 30-second round,
|
|
2
|
-
// Demonstrates: a custom #class player (movement + jump + click-to-shoot with the crosshair ray),
|
|
3
|
-
// user-defined funcs called cross-object, TeleportTo respawn, countdown round timer, HUD score.
|
|
4
|
-
|
|
5
|
-
#class player
|
|
6
|
-
event OnSpawned {
|
|
7
|
-
forever {
|
|
8
|
-
var dir = GetMoveVectorCamera()
|
|
9
|
-
MoveInDirectionContinuouslyFacing(dir, 900)
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
event ActionDownByThisPlayer[Jump] {
|
|
13
|
-
if IsOnGround() {
|
|
14
|
-
Jump(1000)
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
event ActionDownByThisPlayer[Primary] {
|
|
18
|
-
var t = GetMouseTargetObjectWithTag(Tag.Target)
|
|
19
|
-
if t.Exists() and not NearestObjectWithTag(Tag.Manager).RoundOver {
|
|
20
|
-
t.Pop()
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
#end
|
|
24
|
-
|
|
25
|
-
#class Target
|
|
26
|
-
func Pop() {
|
|
27
|
-
SpawnFloatingText("+1", Vector(0.3, 1, 0.4))
|
|
28
|
-
NearestObjectWithTag(Tag.Manager).Hits += 1
|
|
29
|
-
TeleportTo(Position(RandomNumber(-1200, 1200), RandomNumber(500, 1600), RandomNumber(100, 500)))
|
|
30
|
-
}
|
|
31
|
-
event OnPreSpawn {
|
|
32
|
-
AddTag(Tag.Target)
|
|
33
|
-
}
|
|
34
|
-
#end
|
|
35
|
-
|
|
36
|
-
#class GameManager
|
|
37
|
-
var Hits = 0
|
|
38
|
-
var TimeLeft = 30
|
|
39
|
-
var RoundOver = false
|
|
40
|
-
event OnPreSpawn {
|
|
41
|
-
AddTag(Tag.Manager)
|
|
42
|
-
}
|
|
43
|
-
event OnSpawned {
|
|
44
|
-
var secondTmr = Timer()
|
|
45
|
-
secondTmr.StartCountDown(1)
|
|
46
|
-
var scoreLabel = ResolveObjectByNameOnce("ScoreText")
|
|
47
|
-
var midLabel = ResolveObjectByNameOnce("MidText")
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
object
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
1
|
+
// Target Range — aim at the floating spheres and left-click to score. 30-second round, click Restart to replay.
|
|
2
|
+
// Demonstrates: a custom #class player (movement + jump + click-to-shoot with the crosshair ray),
|
|
3
|
+
// user-defined funcs called cross-object, TeleportTo respawn, countdown round timer, HUD score.
|
|
4
|
+
|
|
5
|
+
#class player
|
|
6
|
+
event OnSpawned {
|
|
7
|
+
forever {
|
|
8
|
+
var dir = GetMoveVectorCamera()
|
|
9
|
+
MoveInDirectionContinuouslyFacing(dir, 900)
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
event ActionDownByThisPlayer[Jump] {
|
|
13
|
+
if IsOnGround() {
|
|
14
|
+
Jump(1000)
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
event ActionDownByThisPlayer[Primary] {
|
|
18
|
+
var t = GetMouseTargetObjectWithTag(Tag.Target)
|
|
19
|
+
if t.Exists() and not NearestObjectWithTag(Tag.Manager).RoundOver {
|
|
20
|
+
t.Pop()
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
#end
|
|
24
|
+
|
|
25
|
+
#class Target
|
|
26
|
+
func Pop() {
|
|
27
|
+
SpawnFloatingText("+1", Vector(0.3, 1, 0.4))
|
|
28
|
+
NearestObjectWithTag(Tag.Manager).Hits += 1
|
|
29
|
+
TeleportTo(Position(RandomNumber(-1200, 1200), RandomNumber(500, 1600), RandomNumber(100, 500)))
|
|
30
|
+
}
|
|
31
|
+
event OnPreSpawn {
|
|
32
|
+
AddTag(Tag.Target)
|
|
33
|
+
}
|
|
34
|
+
#end
|
|
35
|
+
|
|
36
|
+
#class GameManager
|
|
37
|
+
var Hits = 0
|
|
38
|
+
var TimeLeft = 30
|
|
39
|
+
var RoundOver = false
|
|
40
|
+
event OnPreSpawn {
|
|
41
|
+
AddTag(Tag.Manager)
|
|
42
|
+
}
|
|
43
|
+
event OnSpawned {
|
|
44
|
+
var secondTmr = Timer()
|
|
45
|
+
secondTmr.StartCountDown(1)
|
|
46
|
+
var scoreLabel = ResolveObjectByNameOnce("ScoreText")
|
|
47
|
+
var midLabel = ResolveObjectByNameOnce("MidText")
|
|
48
|
+
var restartBtn = ResolveObjectByNameOnce("RestartBtn")
|
|
49
|
+
forever {
|
|
50
|
+
scoreLabel.SetText("Hits: " + Hits + " Time: " + TimeLeft)
|
|
51
|
+
if RoundOver {
|
|
52
|
+
continue
|
|
53
|
+
}
|
|
54
|
+
if secondTmr.IsDone() {
|
|
55
|
+
secondTmr.StartCountDown(1)
|
|
56
|
+
TimeLeft -= 1
|
|
57
|
+
if TimeLeft <= 0 {
|
|
58
|
+
RoundOver = true
|
|
59
|
+
midLabel.SetText("TIME! Final score: " + Hits)
|
|
60
|
+
restartBtn.SetVisible(true)
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
event ClickButton {
|
|
66
|
+
if Event.ClickedButton == ResolveObjectByNameOnce("RestartBtn") { RestartGame() }
|
|
67
|
+
}
|
|
68
|
+
#end
|
|
69
|
+
|
|
70
|
+
object Ground {
|
|
71
|
+
model = "cube"
|
|
72
|
+
position = (0, 0, -50)
|
|
73
|
+
size = (4000, 4000, 100)
|
|
74
|
+
color = (0.45, 0.4, 0.35)
|
|
75
|
+
}
|
|
76
|
+
object TargetA : Target { model = "sphere" position = (-600, 900, 250) size = 90 color = (1, 0.3, 0.3) }
|
|
77
|
+
object TargetB : Target { model = "sphere" position = (0, 1200, 350) size = 90 color = (1, 0.3, 0.3) }
|
|
78
|
+
object TargetC : Target { model = "sphere" position = (700, 800, 200) size = 90 color = (1, 0.3, 0.3) }
|
|
79
|
+
display manager : GameManager { visible = false }
|
|
80
|
+
|
|
81
|
+
screenCanvas HUD {
|
|
82
|
+
textLabel ScoreText { offset = (20, 20) text = "Hits: 0 Time: 30" color = (1, 1, 0.85) }
|
|
83
|
+
textLabel MidText { align = (center, center) text = "" color = (0.4, 1, 0.5) }
|
|
84
|
+
button RestartBtn { anchor = (center, center) offset = (0, 70) size = (220, 52) text = "Restart" corner_radius = 8 color = #2E8B57 visible = false }
|
|
85
|
+
}
|
package/dist/ktx_bridge.js
CHANGED
|
@@ -1,121 +1,130 @@
|
|
|
1
|
-
// ktx_bridge.js
|
|
2
|
-
try { console.log("ktx_bridge sees Module:", typeof Module !== 'undefined' ? Module : undefined); } catch (_) {}
|
|
3
|
-
|
|
4
|
-
// Helper views that do not require EXPORTED_RUNTIME_METHODS
|
|
5
|
-
let __ktx_warned_fallback = false;
|
|
6
|
-
function __ktx_warn_fallback_once() {
|
|
7
|
-
if (!__ktx_warned_fallback) {
|
|
8
|
-
console.warn("ktx_bridge: using wasmMemory fallback (HEAPU8/HEAPU32 not exported)");
|
|
9
|
-
__ktx_warned_fallback = true;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function heapU8() {
|
|
13
|
-
if (Module.HEAPU8) return Module.HEAPU8;
|
|
14
|
-
const mem = Module.wasmMemory || (typeof wasmMemory !== 'undefined' ? wasmMemory : undefined);
|
|
15
|
-
if (!mem) throw new Error("WASM memory not available (u8)");
|
|
16
|
-
__ktx_warn_fallback_once();
|
|
17
|
-
return new Uint8Array(mem.buffer);
|
|
18
|
-
}
|
|
19
|
-
function heapU32() {
|
|
20
|
-
if (Module.HEAPU32) return Module.HEAPU32;
|
|
21
|
-
const mem = Module.wasmMemory || (typeof wasmMemory !== 'undefined' ? wasmMemory : undefined);
|
|
22
|
-
if (!mem) throw new Error("WASM memory not available (u32)");
|
|
23
|
-
__ktx_warn_fallback_once();
|
|
24
|
-
return new Uint32Array(mem.buffer);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Extract a WasmTextureDataC from a pointer, read its fields, and free it.
|
|
29
|
-
*
|
|
30
|
-
* @param {number} wasmTextureDataCPtr pointer to a WasmTextureDataC in WASM memory
|
|
31
|
-
*/
|
|
32
|
-
function extractWasmTextureData(wasmTextureDataCPtr) {
|
|
33
|
-
if (wasmTextureDataCPtr === 0) {
|
|
34
|
-
throw new Error("KTX decode returned a null pointer");
|
|
35
|
-
}
|
|
36
|
-
const base = wasmTextureDataCPtr >>> 2; // pointer in i32 indices
|
|
37
|
-
const u32 = heapU32();
|
|
38
|
-
const width = u32[base + 0];
|
|
39
|
-
const height = u32[base + 1];
|
|
40
|
-
const faceCount = u32[base + 2];
|
|
41
|
-
const mipCount = u32[base + 3];
|
|
42
|
-
const dataPtr = u32[base + 4];
|
|
43
|
-
const dataLen = u32[base + 5];
|
|
44
|
-
const offsetsPtr = u32[base + 6];
|
|
45
|
-
|
|
46
|
-
//
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
const fmtPtr = Module._malloc(fmtBytes.length);
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
1
|
+
// ktx_bridge.js
|
|
2
|
+
try { console.log("ktx_bridge sees Module:", typeof Module !== 'undefined' ? Module : undefined); } catch (_) {}
|
|
3
|
+
|
|
4
|
+
// Helper views that do not require EXPORTED_RUNTIME_METHODS
|
|
5
|
+
let __ktx_warned_fallback = false;
|
|
6
|
+
function __ktx_warn_fallback_once() {
|
|
7
|
+
if (!__ktx_warned_fallback) {
|
|
8
|
+
console.warn("ktx_bridge: using wasmMemory fallback (HEAPU8/HEAPU32 not exported)");
|
|
9
|
+
__ktx_warned_fallback = true;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function heapU8() {
|
|
13
|
+
if (Module.HEAPU8) return Module.HEAPU8;
|
|
14
|
+
const mem = Module.wasmMemory || (typeof wasmMemory !== 'undefined' ? wasmMemory : undefined);
|
|
15
|
+
if (!mem) throw new Error("WASM memory not available (u8)");
|
|
16
|
+
__ktx_warn_fallback_once();
|
|
17
|
+
return new Uint8Array(mem.buffer);
|
|
18
|
+
}
|
|
19
|
+
function heapU32() {
|
|
20
|
+
if (Module.HEAPU32) return Module.HEAPU32;
|
|
21
|
+
const mem = Module.wasmMemory || (typeof wasmMemory !== 'undefined' ? wasmMemory : undefined);
|
|
22
|
+
if (!mem) throw new Error("WASM memory not available (u32)");
|
|
23
|
+
__ktx_warn_fallback_once();
|
|
24
|
+
return new Uint32Array(mem.buffer);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Extract a WasmTextureDataC from a pointer, read its fields, and free it.
|
|
29
|
+
*
|
|
30
|
+
* @param {number} wasmTextureDataCPtr pointer to a WasmTextureDataC in WASM memory
|
|
31
|
+
*/
|
|
32
|
+
function extractWasmTextureData(wasmTextureDataCPtr) {
|
|
33
|
+
if (wasmTextureDataCPtr === 0) {
|
|
34
|
+
throw new Error("KTX decode returned a null pointer");
|
|
35
|
+
}
|
|
36
|
+
const base = wasmTextureDataCPtr >>> 2; // pointer in i32 indices
|
|
37
|
+
const u32 = heapU32();
|
|
38
|
+
const width = u32[base + 0];
|
|
39
|
+
const height = u32[base + 1];
|
|
40
|
+
const faceCount = u32[base + 2];
|
|
41
|
+
const mipCount = u32[base + 3];
|
|
42
|
+
const dataPtr = u32[base + 4];
|
|
43
|
+
const dataLen = u32[base + 5];
|
|
44
|
+
const offsetsPtr = u32[base + 6];
|
|
45
|
+
|
|
46
|
+
// The copies allocate fresh ArrayBuffers and can throw (RangeError under memory
|
|
47
|
+
// pressure); always free the wasm-side struct, or every failed transcode leaks it.
|
|
48
|
+
try {
|
|
49
|
+
// Copy the texture bytes
|
|
50
|
+
const u8 = heapU8();
|
|
51
|
+
const textureData = u8.slice(dataPtr, dataPtr + dataLen);
|
|
52
|
+
|
|
53
|
+
// Flattened offsets array, if any
|
|
54
|
+
const totalOffsets = faceCount * mipCount;
|
|
55
|
+
const faceToMipOffsets = u32.slice(
|
|
56
|
+
offsetsPtr >>> 2,
|
|
57
|
+
(offsetsPtr >>> 2) + totalOffsets
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
width,
|
|
62
|
+
height,
|
|
63
|
+
faceCount,
|
|
64
|
+
mipCount,
|
|
65
|
+
textureData,
|
|
66
|
+
faceToMipOffsets,
|
|
67
|
+
};
|
|
68
|
+
} finally {
|
|
69
|
+
Module.ccall("wasm_free_texture_data", null, ["number"], [wasmTextureDataCPtr]);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* loadAndTranscodeKtxTexture
|
|
75
|
+
* Calls the WASM function "wasm_load_and_transcode_ktx_texture"
|
|
76
|
+
* with a given format string (e.g. "bc1", "bc1-srgb" or "bc5").
|
|
77
|
+
*
|
|
78
|
+
* @param {Uint8Array} ktxData
|
|
79
|
+
* @param {string} formatStr
|
|
80
|
+
*/
|
|
81
|
+
window.loadAndTranscodeKtxTexture = function(ktxData, formatStr) {
|
|
82
|
+
const enc = new TextEncoder();
|
|
83
|
+
const fmtBytes = enc.encode(formatStr);
|
|
84
|
+
const ktxPtr = Module._malloc(ktxData.length);
|
|
85
|
+
const fmtPtr = Module._malloc(fmtBytes.length);
|
|
86
|
+
let wasmTextureDataCPtr;
|
|
87
|
+
try {
|
|
88
|
+
// Emscripten malloc returns 0 on OOM; writing at 0 corrupts low wasm memory.
|
|
89
|
+
if (!ktxPtr || !fmtPtr) throw new Error("KTX malloc failed (" + ktxData.length + "B)");
|
|
90
|
+
heapU8().set(ktxData, ktxPtr);
|
|
91
|
+
heapU8().set(fmtBytes, fmtPtr);
|
|
92
|
+
|
|
93
|
+
// Call the Emscripten-compiled function
|
|
94
|
+
wasmTextureDataCPtr = Module.ccall(
|
|
95
|
+
"wasm_load_and_transcode_ktx_texture",
|
|
96
|
+
"number",
|
|
97
|
+
["number","number","number","number"],
|
|
98
|
+
[ktxPtr, ktxData.length, fmtPtr, fmtBytes.length]
|
|
99
|
+
);
|
|
100
|
+
} finally {
|
|
101
|
+
if (ktxPtr) Module._free(ktxPtr);
|
|
102
|
+
if (fmtPtr) Module._free(fmtPtr);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return extractWasmTextureData(wasmTextureDataCPtr);
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* loadKtxCubemap
|
|
110
|
+
* @param {Uint8Array} ktxData
|
|
111
|
+
*/
|
|
112
|
+
window.loadKtxCubemap = function(ktxData) {
|
|
113
|
+
const ktxPtr = Module._malloc(ktxData.length);
|
|
114
|
+
let wasmTextureDataCPtr;
|
|
115
|
+
try {
|
|
116
|
+
if (!ktxPtr) throw new Error("KTX malloc failed (" + ktxData.length + "B)");
|
|
117
|
+
heapU8().set(ktxData, ktxPtr);
|
|
118
|
+
|
|
119
|
+
wasmTextureDataCPtr = Module.ccall(
|
|
120
|
+
"wasm_load_ktx_cubemap",
|
|
121
|
+
"number",
|
|
122
|
+
["number","number"],
|
|
123
|
+
[ktxPtr, ktxData.length]
|
|
124
|
+
);
|
|
125
|
+
} finally {
|
|
126
|
+
if (ktxPtr) Module._free(ktxPtr);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
return extractWasmTextureData(wasmTextureDataCPtr);
|
|
130
|
+
};
|
package/dist/oriverse_wgpu.d.ts
CHANGED
|
@@ -108,11 +108,13 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
108
108
|
|
|
109
109
|
export interface InitOutput {
|
|
110
110
|
readonly memory: WebAssembly.Memory;
|
|
111
|
-
readonly bootOriverseArtifact: (a: number, b: number) => any;
|
|
112
111
|
readonly sim_worker_init: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
|
|
113
112
|
readonly sim_worker_start_ticker: (a: number) => [number, number];
|
|
113
|
+
readonly bootOriverseArtifact: (a: number, b: number) => any;
|
|
114
114
|
readonly start_wasm_oriverse: () => void;
|
|
115
|
+
readonly worker_attach_read_dc: (a: any) => void;
|
|
115
116
|
readonly worker_attach_write_dc: (a: any, b: any) => void;
|
|
117
|
+
readonly worker_init: (a: number, b: number) => void;
|
|
116
118
|
readonly worker_init_write: (a: number, b: number, c: number, d: number) => void;
|
|
117
119
|
readonly live_sim_log_objects_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
118
120
|
readonly live_sim_log_simcalls_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -121,8 +123,6 @@ export interface InitOutput {
|
|
|
121
123
|
readonly ui_inspect_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
122
124
|
readonly validate_world_entry: (a: number, b: number, c: number) => [number, number];
|
|
123
125
|
readonly validate_world_shared_entry: (a: number, b: number, c: number) => [number, number];
|
|
124
|
-
readonly worker_attach_read_dc: (a: any) => void;
|
|
125
|
-
readonly worker_init: (a: number, b: number) => void;
|
|
126
126
|
readonly init_market_client_message_bridge: (a: any) => [number, number];
|
|
127
127
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
128
128
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
@@ -137,43 +137,45 @@ export interface InitOutput {
|
|
|
137
137
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
138
138
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
139
139
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
140
|
+
readonly wasm_bindgen__closure__destroy__h3d8ab50ba4ce30a4: (a: number, b: number) => void;
|
|
141
|
+
readonly wasm_bindgen__closure__destroy__h0fd52f5d59b3cd4b: (a: number, b: number) => void;
|
|
142
|
+
readonly wasm_bindgen__closure__destroy__h20f708e23b4883f9: (a: number, b: number) => void;
|
|
143
|
+
readonly wasm_bindgen__closure__destroy__h2a10fd83d60eba6e: (a: number, b: number) => void;
|
|
144
|
+
readonly wasm_bindgen__closure__destroy__h1088095546a21edd: (a: number, b: number) => void;
|
|
145
|
+
readonly wasm_bindgen__closure__destroy__h1e27ba29c6fa169a: (a: number, b: number) => void;
|
|
146
|
+
readonly wasm_bindgen__closure__destroy__h132edb609c4f4a75: (a: number, b: number) => void;
|
|
146
147
|
readonly wasm_bindgen__closure__destroy__h2504b00990fec809: (a: number, b: number) => void;
|
|
147
|
-
readonly
|
|
148
|
+
readonly wasm_bindgen__closure__destroy__h005774f579d6de55: (a: number, b: number) => void;
|
|
148
149
|
readonly wasm_bindgen__closure__destroy__h780a4b6abdc124b2: (a: number, b: number) => void;
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
150
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1095830d78c222bd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
151
|
+
readonly wasm_bindgen__convert__closures_____invoke__hc08174464eeba129: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
152
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6bf5d86945a0b0a2: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
153
|
+
readonly wasm_bindgen__convert__closures_____invoke__h42fc6b0043bbcea1: (a: number, b: number, c: any, d: any) => void;
|
|
154
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2460173345a5f10a: (a: number, b: number, c: number, d: number) => void;
|
|
155
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7c3fdad917f44fc2: (a: number, b: number, c: any, d: any) => void;
|
|
155
156
|
readonly wasm_bindgen__convert__closures_____invoke__hc8bca67d3586a92f: (a: number, b: number, c: any) => [number, number];
|
|
156
157
|
readonly wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7: (a: number, b: number, c: any, d: any) => void;
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
158
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7550ff0630f93231: (a: number, b: number, c: any) => void;
|
|
159
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7550ff0630f93231_1: (a: number, b: number, c: any) => void;
|
|
160
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7550ff0630f93231_2: (a: number, b: number, c: any) => void;
|
|
161
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2b5d470eeaaeab73: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2b5d470eeaaeab73_8: (a: number, b: number, c: any) => void;
|
|
163
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2b5d470eeaaeab73_9: (a: number, b: number, c: any) => void;
|
|
164
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2b5d470eeaaeab73_10: (a: number, b: number, c: any) => void;
|
|
165
|
+
readonly wasm_bindgen__convert__closures_____invoke__h65b57d359a71a310: (a: number, b: number, c: any) => void;
|
|
166
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1a89f04f0ec42b71: (a: number, b: number, c: any) => void;
|
|
167
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100: (a: number, b: number, c: any) => void;
|
|
168
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100_17: (a: number, b: number, c: any) => void;
|
|
169
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100_18: (a: number, b: number, c: any) => void;
|
|
170
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100_19: (a: number, b: number, c: any) => void;
|
|
171
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100_20: (a: number, b: number, c: any) => void;
|
|
172
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100_21: (a: number, b: number, c: any) => void;
|
|
173
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100_22: (a: number, b: number, c: any) => void;
|
|
174
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7f345262a86d3100_23: (a: number, b: number, c: any) => void;
|
|
175
|
+
readonly wasm_bindgen__convert__closures_____invoke__hd39e5e1d64e1020c: (a: number, b: number, c: number) => void;
|
|
176
|
+
readonly wasm_bindgen__convert__closures_____invoke__haa4160b0204595c1: (a: number, b: number, c: any) => void;
|
|
177
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6ebd727ad3f637e3: (a: number, b: number) => void;
|
|
178
|
+
readonly wasm_bindgen__convert__closures_____invoke__h00bb8be0d779d52d: (a: number, b: number) => void;
|
|
177
179
|
readonly wasm_bindgen__convert__closures_____invoke__hcb86fb251f5bd754: (a: number, b: number) => void;
|
|
178
180
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
179
181
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|