feat(command): expose registration snapshots for inspection
This commit is contained in:
@@ -85,3 +85,13 @@ service.RegisterCommands(myCommandInstance);
|
||||
- 运行时创建的对象
|
||||
- 模组实例
|
||||
- 需要带状态的命令宿主
|
||||
|
||||
## 可复用能力
|
||||
|
||||
<!-- shrink:capabilities -->
|
||||
Capability: 路径式命令解析、参数转换、来源权限和帮助输出
|
||||
Aliases: 命令 控制台 控制 指令 权限 command
|
||||
Limits: 不替代游戏行为实现;从网络调用仍需检查命令来源与权限;注册与执行归宿主协调
|
||||
Extension: ShrinkCommandRegistration;RegisterConverter;ShrinkCommandAttribute
|
||||
Evidence: [ShrinkCommandService](Runtime/Core/ShrinkCommandService.cs); [ShrinkCommandRegistration](Runtime/Core/ShrinkCommandService.cs)
|
||||
<!-- /shrink:capabilities -->
|
||||
|
||||
Reference in New Issue
Block a user