mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
- 实现了JSON Schema解析和YAML验证功能 - 添加了对象和数组枚举值的比较验证逻辑 - 实现了配置文件的采样生成功能 - 添加了批量编辑器的数值更新功能 - 实现了配置路径和注释提取功能 - 添加了多种数据格式验证支持包括日期、邮箱、UUID等 - 实现了常量和枚举值的元数据处理功能 - 添加了配置验证诊断信息生成功能 - 实现了表单更新应用到YAML的功能 - 添加了字符串排序比较算法确保工具一致性
54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
// <auto-generated />
|
|
#nullable enable
|
|
|
|
namespace GFramework.Game.Config.Generated;
|
|
|
|
/// <summary>
|
|
/// Auto-generated config type for schema file 'monster.schema.json'.
|
|
/// This type is generated from JSON schema so runtime loading and editor tooling can share the same contract.
|
|
/// </summary>
|
|
public sealed partial class MonsterConfig
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the value mapped from schema property path 'id'.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Schema property path: 'id'.
|
|
/// </remarks>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the value mapped from schema property path 'phases'.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Schema property path: 'phases'.
|
|
/// Allowed values: { "wave": 1, "monsterId": "slime" }, { "wave": 2, "monsterId": "goblin" }.
|
|
/// Generated default initializer: = global::System.Array.Empty<PhasesItemConfig>();
|
|
/// </remarks>
|
|
public global::System.Collections.Generic.IReadOnlyList<PhasesItemConfig> Phases { get; set; } = global::System.Array.Empty<PhasesItemConfig>();
|
|
|
|
/// <summary>
|
|
/// Auto-generated nested config type for schema property path 'phases[]'.
|
|
/// This nested type is generated so object-valued schema fields remain strongly typed in consumer code.
|
|
/// </summary>
|
|
public sealed partial class PhasesItemConfig
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the value mapped from schema property path 'phases[].wave'.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Schema property path: 'phases[].wave'.
|
|
/// </remarks>
|
|
public int Wave { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the value mapped from schema property path 'phases[].monsterId'.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Schema property path: 'phases[].monsterId'.
|
|
/// Generated default initializer: = string.Empty;
|
|
/// </remarks>
|
|
public string MonsterId { get; set; } = string.Empty;
|
|
|
|
}
|
|
} |