//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using Luban;
using System.Text.Json;


namespace cfg.ai
{
public sealed partial class StringKeyData : ai.KeyData
{
    public StringKeyData(JsonElement _buf)  : base(_buf) 
    {
        Value = _buf.GetProperty("value").GetString();
    }

    public static StringKeyData DeserializeStringKeyData(JsonElement _buf)
    {
        return new ai.StringKeyData(_buf);
    }

    public readonly string Value;
   
    public const int __ID__ = -307888654;
    public override int GetTypeId() => __ID__;

    public override void ResolveRef(Tables tables)
    {
        base.ResolveRef(tables);
        
    }

    public override string ToString()
    {
        return "{ "
        + "value:" + Value + ","
        + "}";
    }
}

}