초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
// <auto-generated>
// generated using ContentTool. DO NOT EDIT!
// </auto-generated>
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Collections.ObjectModel;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
namespace MetaAssets
{
#pragma warning disable
public partial class NpcMetaDataMutable
{
[JsonProperty("npc_id")]
public int npc_id { get; set; }
[JsonProperty("name")]
public string name { get; set; }
[JsonProperty("Gender")]
public EGenderType Gender { get; set; }
[JsonProperty("NpcTitle")]
public string NpcTitle { get; set; }
[JsonProperty("UGQ")]
public bool UGQ { get; set; }
[JsonProperty("UGQmap_x")]
public int UGQmap_x { get; set; }
[JsonProperty("UGQmap_y")]
public int UGQmap_y { get; set; }
[JsonProperty("UGQmap_z")]
public int UGQmap_z { get; set; }
}
public partial class NpcMetaTableMutable
{
[JsonProperty("NpcMetaDataList")]
public IList<NpcMetaDataMutable> NpcMetaDataList { get; set; }
}
//////////////////////////////
// readonly class
//////////////////////////////
public partial class NpcMetaData
{
public readonly int npc_id;
public readonly string name;
public readonly EGenderType Gender;
public readonly string NpcTitle;
public readonly bool UGQ;
public readonly int UGQmap_x;
public readonly int UGQmap_y;
public readonly int UGQmap_z;
public NpcMetaData(NpcMetaDataMutable data)
{
npc_id = data.npc_id;
name = data.name;
Gender = data.Gender;
NpcTitle = data.NpcTitle;
UGQ = data.UGQ;
UGQmap_x = data.UGQmap_x;
UGQmap_y = data.UGQmap_y;
UGQmap_z = data.UGQmap_z;
}
}
public partial class NpcMetaTable
{
public readonly IReadOnlyList<NpcMetaData> NpcMetaDataList;
public NpcMetaTable(NpcMetaTableMutable data)
{
if(data.NpcMetaDataList != null)
NpcMetaDataList = data.NpcMetaDataList.Select(x => new NpcMetaData(x)).ToList().AsReadOnly();
}
}
}