@energy8platform/platform-core 0.30.3 → 0.30.4
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/dist/slot-result.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/** Minimal, renderer-agnostic base every normalized slot result satisfies. */
|
|
2
2
|
interface SlotSpinResultBase {
|
|
3
|
-
/** Currency win
|
|
3
|
+
/** Currency win for the round SO FAR — CUMULATIVE, not this segment's win (PlatformSession.play()
|
|
4
|
+
* already applied the bet). In a bonus every drained segment must report the running total, so
|
|
5
|
+
* the host derives each spin's WIN readout as `totalWin - prevSegmentTotal` and the final base
|
|
6
|
+
* return shows the round total. Feed the RGS `total_win` (accumulated), never `spin_win`. */
|
|
4
7
|
totalWin: number;
|
|
5
8
|
freeSpins?: {
|
|
6
9
|
awarded?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@energy8platform/platform-core",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.4",
|
|
4
4
|
"description": "Energy8 platform core: Lua engine, DevBridge, RTP simulation, and SDK session orchestration. Renderer-agnostic — pair with any game framework (Pixi, Phaser, Three.js, custom).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
package/src/slot-result/types.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/** Minimal, renderer-agnostic base every normalized slot result satisfies. */
|
|
2
2
|
export interface SlotSpinResultBase {
|
|
3
|
-
/** Currency win
|
|
3
|
+
/** Currency win for the round SO FAR — CUMULATIVE, not this segment's win (PlatformSession.play()
|
|
4
|
+
* already applied the bet). In a bonus every drained segment must report the running total, so
|
|
5
|
+
* the host derives each spin's WIN readout as `totalWin - prevSegmentTotal` and the final base
|
|
6
|
+
* return shows the round total. Feed the RGS `total_win` (accumulated), never `spin_win`. */
|
|
4
7
|
totalWin: number;
|
|
5
8
|
freeSpins?: { awarded?: number; total?: number; remaining?: number };
|
|
6
9
|
// ── Round-continuation metadata (Stake segment-drain) ──────────────────
|