猹引擎
客户端配置文件
客户端接入围绕两部分:
- 模组启用状态。
- 资源包接入状态。
客户端接入清单模板
yml
############################
# 客户端接入清单 #
############################
client-entry:
# 客户端模组启用状态
mod:
enabled: true
# 整包启动时是否自动校验模组存在
auto-check: true
# 资源包接入设定
resource-pack:
# 资源命名空间
namespace: "ChaEngine"
# 启动后自动做资源完整性检查
auto-check: true
# 关键目录清单
required-folders:
- "model"
- "ui"
# 显示层参数
rendering:
ui:
# 页面帧率策略
frame-rate: 30
# 页面缩放策略,auto 为自动适配
scale-mode: "auto"
model:
# 是否启用模型预加载
preload: true
# 资源缺失时是否使用占位表现
fallback-placeholder: true
# 同步策略
sync:
# 玩家重连时执行重同步
reconnect-resync: true
# 场景切换时执行重同步
scene-switch-resync: true
# 调试开关
debug:
# 是否输出同步日志
show-sync-log: false
# 是否输出资源日志
show-resource-log: false
猹件开发组