초기커밋
This commit is contained in:
95
ServerCommon/MetaAssets/MetaTable/BattleFFAConfigData.cs
Normal file
95
ServerCommon/MetaAssets/MetaTable/BattleFFAConfigData.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
// <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 BattleFFAConfigDataMutable
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("Description")]
|
||||
public string Description { get; set; }
|
||||
[JsonProperty("PlayerRespawnTime")]
|
||||
public int PlayerRespawnTime { get; set; }
|
||||
[JsonProperty("DefaultRoundCount")]
|
||||
public int DefaultRoundCount { get; set; }
|
||||
[JsonProperty("RoundTime")]
|
||||
public int RoundTime { get; set; }
|
||||
[JsonProperty("NextRoundWaitTime")]
|
||||
public int NextRoundWaitTime { get; set; }
|
||||
[JsonProperty("ResultUIWaitTime")]
|
||||
public int ResultUIWaitTime { get; set; }
|
||||
[JsonProperty("GetRewardTime")]
|
||||
public int GetRewardTime { get; set; }
|
||||
[JsonProperty("EntranceClosingTime")]
|
||||
public int EntranceClosingTime { get; set; }
|
||||
[JsonProperty("CurrencyType")]
|
||||
public CurrencyType CurrencyType { get; set; }
|
||||
[JsonProperty("CurrencyCount")]
|
||||
public int CurrencyCount { get; set; }
|
||||
[JsonProperty("TPSGuideURL")]
|
||||
public string TPSGuideURL { get; set; }
|
||||
}
|
||||
|
||||
public partial class BattleFFAConfigMetaTableMutable
|
||||
{
|
||||
[JsonProperty("BattleFFAConfigMetaDataList")]
|
||||
public IList<BattleFFAConfigDataMutable> BattleFFAConfigMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class BattleFFAConfigData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly string Description;
|
||||
public readonly int PlayerRespawnTime;
|
||||
public readonly int DefaultRoundCount;
|
||||
public readonly int RoundTime;
|
||||
public readonly int NextRoundWaitTime;
|
||||
public readonly int ResultUIWaitTime;
|
||||
public readonly int GetRewardTime;
|
||||
public readonly int EntranceClosingTime;
|
||||
public readonly CurrencyType CurrencyType;
|
||||
public readonly int CurrencyCount;
|
||||
public readonly string TPSGuideURL;
|
||||
public BattleFFAConfigData(BattleFFAConfigDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
Description = data.Description;
|
||||
PlayerRespawnTime = data.PlayerRespawnTime;
|
||||
DefaultRoundCount = data.DefaultRoundCount;
|
||||
RoundTime = data.RoundTime;
|
||||
NextRoundWaitTime = data.NextRoundWaitTime;
|
||||
ResultUIWaitTime = data.ResultUIWaitTime;
|
||||
GetRewardTime = data.GetRewardTime;
|
||||
EntranceClosingTime = data.EntranceClosingTime;
|
||||
CurrencyType = data.CurrencyType;
|
||||
CurrencyCount = data.CurrencyCount;
|
||||
TPSGuideURL = data.TPSGuideURL;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class BattleFFAConfigMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<BattleFFAConfigData> BattleFFAConfigMetaDataList;
|
||||
public BattleFFAConfigMetaTable(BattleFFAConfigMetaTableMutable data)
|
||||
{
|
||||
if(data.BattleFFAConfigMetaDataList != null)
|
||||
BattleFFAConfigMetaDataList = data.BattleFFAConfigMetaDataList.Select(x => new BattleFFAConfigData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user