84 lines
2.8 KiB
C#
84 lines
2.8 KiB
C#
// <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 SpawnPropGroupMetaDataMutable
|
|
{
|
|
[JsonProperty("id")]
|
|
public int id_ { get; set; }
|
|
[JsonProperty("group_id")]
|
|
public int group_id { get; set; }
|
|
[JsonProperty("group_folder_name")]
|
|
public string group_folder_name { get; set; }
|
|
[JsonProperty("prop_order")]
|
|
public int prop_order { get; set; }
|
|
[JsonProperty("prop_id")]
|
|
public int prop_id { get; set; }
|
|
[JsonProperty("max_spawn_quantity")]
|
|
public int max_spawn_quantity { get; set; }
|
|
[JsonProperty("prop_spawn_weight")]
|
|
public int prop_spawn_weight { get; set; }
|
|
[JsonProperty("prop_display_name")]
|
|
public string prop_display_name { get; set; }
|
|
[JsonProperty("group_respawn_time")]
|
|
public int group_respawn_time { get; set; }
|
|
}
|
|
|
|
public partial class SpawnPropGroupMetaTableMutable
|
|
{
|
|
[JsonProperty("SpawnPropGroupMetaDataList")]
|
|
public IList<SpawnPropGroupMetaDataMutable> SpawnPropGroupMetaDataList { get; set; }
|
|
}
|
|
|
|
//////////////////////////////
|
|
// readonly class
|
|
//////////////////////////////
|
|
public partial class SpawnPropGroupMetaData
|
|
{
|
|
public readonly int id_;
|
|
public readonly int group_id;
|
|
public readonly string group_folder_name;
|
|
public readonly int prop_order;
|
|
public readonly int prop_id;
|
|
public readonly int max_spawn_quantity;
|
|
public readonly int prop_spawn_weight;
|
|
public readonly string prop_display_name;
|
|
public readonly int group_respawn_time;
|
|
public SpawnPropGroupMetaData(SpawnPropGroupMetaDataMutable data)
|
|
{
|
|
id_ = data.id_;
|
|
group_id = data.group_id;
|
|
group_folder_name = data.group_folder_name;
|
|
prop_order = data.prop_order;
|
|
prop_id = data.prop_id;
|
|
max_spawn_quantity = data.max_spawn_quantity;
|
|
prop_spawn_weight = data.prop_spawn_weight;
|
|
prop_display_name = data.prop_display_name;
|
|
group_respawn_time = data.group_respawn_time;
|
|
}
|
|
}
|
|
|
|
public partial class SpawnPropGroupMetaTable
|
|
{
|
|
public readonly IReadOnlyList<SpawnPropGroupMetaData> SpawnPropGroupMetaDataList;
|
|
public SpawnPropGroupMetaTable(SpawnPropGroupMetaTableMutable data)
|
|
{
|
|
if(data.SpawnPropGroupMetaDataList != null)
|
|
SpawnPropGroupMetaDataList = data.SpawnPropGroupMetaDataList.Select(x => new SpawnPropGroupMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|