yhh
|
1834bc2068
|
fix(tests): 更新测试以使用 GlobalComponentRegistry 实例
修复多个测试文件以适配 ComponentRegistry 从静态类变为实例类的变更:
- ComponentStorage.test.ts: 使用 GlobalComponentRegistry.reset()
- EntitySerializer.test.ts: 使用 GlobalComponentRegistry 实例
- IncrementalSerialization.test.ts: 使用 GlobalComponentRegistry 实例
- SceneSerializer.test.ts: 使用 GlobalComponentRegistry 实例
- ComponentRegistry.extended.test.ts: 使用 GlobalComponentRegistry,同时注册到 scene.componentRegistry
- SystemTypes.test.ts: 在 Scene 创建前注册组件
- QuerySystem.test.ts: mockScene 添加 componentRegistry
|
2025-12-16 12:38:14 +08:00 |
|
YHH
|
3512199ff4
|
fix(core): 移除fflate依赖,修复TextEncoder兼容性问题 (#217)
* fix(core): 移除fflate依赖,修复TextEncoder兼容性问题
* fix(core): 移除fflate依赖,修复TextEncoder兼容性问题
|
2025-11-07 12:10:52 +08:00 |
|
YHH
|
b410e2de47
|
fix(core): 移除TextEncoder依赖以兼容小游戏环境
|
2025-10-28 11:51:57 +08:00 |
|
YHH
|
e3ead8a695
|
修复buffer再浏览器环境不兼容的问题
|
2025-10-12 18:49:20 +08:00 |
|
YHH
|
97a69fed09
|
增量序列化支持二进制
|
2025-10-09 17:14:18 +08:00 |
|
YHH
|
fd1bbb0e00
|
新增增量序列化
|
2025-10-09 12:30:04 +08:00 |
|