steamsheep-ts-game-engine 2.0.0 → 3.1.0
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/README.md +427 -962
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +562 -68
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +562 -68
- package/dist/index.mjs.map +1 -1
- package/dist/state/index.d.mts +204 -21
- package/dist/state/index.d.ts +204 -21
- package/dist/state/index.js +290 -23
- package/dist/state/index.js.map +1 -1
- package/dist/state/index.mjs +290 -23
- package/dist/state/index.mjs.map +1 -1
- package/dist/{store-xBiJ2MvB.d.mts → store-5-3GQpi9.d.mts} +100 -5
- package/dist/{store-D0SE7zJK.d.ts → store-PPh__zkF.d.ts} +100 -5
- package/dist/systems/index.d.mts +34 -3
- package/dist/systems/index.d.ts +34 -3
- package/dist/systems/index.js +272 -45
- package/dist/systems/index.js.map +1 -1
- package/dist/systems/index.mjs +272 -45
- package/dist/systems/index.mjs.map +1 -1
- package/dist/types-D-nDlnv3.d.mts +1650 -0
- package/dist/types-D-nDlnv3.d.ts +1650 -0
- package/dist/ui/index.d.mts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types-BLjkeE3R.d.mts +0 -536
- package/dist/types-BLjkeE3R.d.ts +0 -536
package/dist/core/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as ActionDef, E as EffectDef,
|
|
1
|
+
import { a as GameState } from '../types-D-nDlnv3.mjs';
|
|
2
|
+
export { A as ActionDef, E as EffectDef, F as FlagsBatchOperation, G as GameStoreActions, d as LocationDef, L as LogEntry, b as NotificationPayload, N as NotificationType, R as RequirementCheckResult, c as RequirementDef, S as StatRequirement, W as WorldState } from '../types-D-nDlnv3.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 系统消息常量
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as ActionDef, E as EffectDef,
|
|
1
|
+
import { a as GameState } from '../types-D-nDlnv3.js';
|
|
2
|
+
export { A as ActionDef, E as EffectDef, F as FlagsBatchOperation, G as GameStoreActions, d as LocationDef, L as LogEntry, b as NotificationPayload, N as NotificationType, R as RequirementCheckResult, c as RequirementDef, S as StatRequirement, W as WorldState } from '../types-D-nDlnv3.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 系统消息常量
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { A as ActionDef, E as EffectDef,
|
|
1
|
+
export { A as ActionDef, E as EffectDef, F as FlagsBatchOperation, a as GameState, G as GameStoreActions, d as LocationDef, L as LogEntry, b as NotificationPayload, N as NotificationType, R as RequirementCheckResult, c as RequirementDef, S as StatRequirement, W as WorldState } from './types-D-nDlnv3.mjs';
|
|
2
2
|
export { DEFAULT_CONFIG, DEFAULT_STATS, ENGINE_VERSION, LOG_TYPE_COLORS, SystemMessages, TIME_CONSTANTS, UI_CONSTANTS, VALIDATION, clamp, debounce, deepClone, delay, formatGameTime, formatNumber, generateId, get, getPercentage, getStateDiff, getTimeOfDay, isEmpty, randomChoice, randomInt, shuffle, throttle } from './core/index.mjs';
|
|
3
|
-
export {
|
|
4
|
-
export { HistoryManager } from './state/index.mjs';
|
|
3
|
+
export { G as GameStore, c as createGameEngineStore } from './store-5-3GQpi9.mjs';
|
|
4
|
+
export { HistoryManager, SnapshotInfo } from './state/index.mjs';
|
|
5
5
|
export { EngineEvents, EventBus, FlowSystem, QuerySystem, gameEvents } from './systems/index.mjs';
|
|
6
6
|
export { Layout, LogStream, MainContent, OverlaySystem } from './ui/index.mjs';
|
|
7
7
|
import 'zustand/middleware';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { A as ActionDef, E as EffectDef,
|
|
1
|
+
export { A as ActionDef, E as EffectDef, F as FlagsBatchOperation, a as GameState, G as GameStoreActions, d as LocationDef, L as LogEntry, b as NotificationPayload, N as NotificationType, R as RequirementCheckResult, c as RequirementDef, S as StatRequirement, W as WorldState } from './types-D-nDlnv3.js';
|
|
2
2
|
export { DEFAULT_CONFIG, DEFAULT_STATS, ENGINE_VERSION, LOG_TYPE_COLORS, SystemMessages, TIME_CONSTANTS, UI_CONSTANTS, VALIDATION, clamp, debounce, deepClone, delay, formatGameTime, formatNumber, generateId, get, getPercentage, getStateDiff, getTimeOfDay, isEmpty, randomChoice, randomInt, shuffle, throttle } from './core/index.js';
|
|
3
|
-
export {
|
|
4
|
-
export { HistoryManager } from './state/index.js';
|
|
3
|
+
export { G as GameStore, c as createGameEngineStore } from './store-PPh__zkF.js';
|
|
4
|
+
export { HistoryManager, SnapshotInfo } from './state/index.js';
|
|
5
5
|
export { EngineEvents, EventBus, FlowSystem, QuerySystem, gameEvents } from './systems/index.js';
|
|
6
6
|
export { Layout, LogStream, MainContent, OverlaySystem } from './ui/index.js';
|
|
7
7
|
import 'zustand/middleware';
|