초기커밋
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
// <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 BattleObjectSpawnGroupMetaDataMutable
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("GroupID")]
|
||||
public int GroupID { get; set; }
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName { get; set; }
|
||||
[JsonProperty("BattleObjectID")]
|
||||
public int BattleObjectID { get; set; }
|
||||
[JsonProperty("RespawnTime")]
|
||||
public int RespawnTime { get; set; }
|
||||
[JsonProperty("MaxSpawnQuantity")]
|
||||
public int MaxSpawnQuantity { get; set; }
|
||||
}
|
||||
|
||||
public partial class BattleObjectSpawnGroupMetaTableMutable
|
||||
{
|
||||
[JsonProperty("BattleObjectSpawnGroupMetaDataList")]
|
||||
public IList<BattleObjectSpawnGroupMetaDataMutable> BattleObjectSpawnGroupMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class BattleObjectSpawnGroupMetaData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly int GroupID;
|
||||
public readonly string GroupName;
|
||||
public readonly int BattleObjectID;
|
||||
public readonly int RespawnTime;
|
||||
public readonly int MaxSpawnQuantity;
|
||||
public BattleObjectSpawnGroupMetaData(BattleObjectSpawnGroupMetaDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
GroupID = data.GroupID;
|
||||
GroupName = data.GroupName;
|
||||
BattleObjectID = data.BattleObjectID;
|
||||
RespawnTime = data.RespawnTime;
|
||||
MaxSpawnQuantity = data.MaxSpawnQuantity;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class BattleObjectSpawnGroupMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<BattleObjectSpawnGroupMetaData> BattleObjectSpawnGroupMetaDataList;
|
||||
public BattleObjectSpawnGroupMetaTable(BattleObjectSpawnGroupMetaTableMutable data)
|
||||
{
|
||||
if(data.BattleObjectSpawnGroupMetaDataList != null)
|
||||
BattleObjectSpawnGroupMetaDataList = data.BattleObjectSpawnGroupMetaDataList.Select(x => new BattleObjectSpawnGroupMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user