초기커밋
This commit is contained in:
95
ServerCommon/MetaAssets/MetaTable/QuestScriptData.cs
Normal file
95
ServerCommon/MetaAssets/MetaTable/QuestScriptData.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 QuestScriptMetaDataMutable
|
||||
{
|
||||
[JsonProperty("Index")]
|
||||
public int Index { get; set; }
|
||||
[JsonProperty("QuestId")]
|
||||
public uint QuestId { get; set; }
|
||||
[JsonProperty("EventTarget")]
|
||||
public string EventTarget { get; set; }
|
||||
[JsonProperty("Event")]
|
||||
public string Event { get; set; }
|
||||
[JsonProperty("EventCondition1")]
|
||||
public string EventCondition1 { get; set; }
|
||||
[JsonProperty("EventCondition2")]
|
||||
public string EventCondition2 { get; set; }
|
||||
[JsonProperty("EventCondition3")]
|
||||
public string EventCondition3 { get; set; }
|
||||
[JsonProperty("FunctionTarget")]
|
||||
public string FunctionTarget { get; set; }
|
||||
[JsonProperty("Function")]
|
||||
public string Function { get; set; }
|
||||
[JsonProperty("FunctionCondition1")]
|
||||
public string FunctionCondition1 { get; set; }
|
||||
[JsonProperty("FunctionCondition2")]
|
||||
public string FunctionCondition2 { get; set; }
|
||||
[JsonProperty("FunctionCondition3")]
|
||||
public string FunctionCondition3 { get; set; }
|
||||
}
|
||||
|
||||
public partial class QuestScriptMetaTableMutable
|
||||
{
|
||||
[JsonProperty("QuestScriptMetaDataList")]
|
||||
public IList<QuestScriptMetaDataMutable> QuestScriptMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class QuestScriptMetaData
|
||||
{
|
||||
public readonly int Index;
|
||||
public readonly uint QuestId;
|
||||
public readonly string EventTarget;
|
||||
public readonly string Event;
|
||||
public readonly string EventCondition1;
|
||||
public readonly string EventCondition2;
|
||||
public readonly string EventCondition3;
|
||||
public readonly string FunctionTarget;
|
||||
public readonly string Function;
|
||||
public readonly string FunctionCondition1;
|
||||
public readonly string FunctionCondition2;
|
||||
public readonly string FunctionCondition3;
|
||||
public QuestScriptMetaData(QuestScriptMetaDataMutable data)
|
||||
{
|
||||
Index = data.Index;
|
||||
QuestId = data.QuestId;
|
||||
EventTarget = data.EventTarget;
|
||||
Event = data.Event;
|
||||
EventCondition1 = data.EventCondition1;
|
||||
EventCondition2 = data.EventCondition2;
|
||||
EventCondition3 = data.EventCondition3;
|
||||
FunctionTarget = data.FunctionTarget;
|
||||
Function = data.Function;
|
||||
FunctionCondition1 = data.FunctionCondition1;
|
||||
FunctionCondition2 = data.FunctionCondition2;
|
||||
FunctionCondition3 = data.FunctionCondition3;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class QuestScriptMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<QuestScriptMetaData> QuestScriptMetaDataList;
|
||||
public QuestScriptMetaTable(QuestScriptMetaTableMutable data)
|
||||
{
|
||||
if(data.QuestScriptMetaDataList != null)
|
||||
QuestScriptMetaDataList = data.QuestScriptMetaDataList.Select(x => new QuestScriptMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user