초기커밋
This commit is contained in:
191
ServerCommon/MetaAssets/MetaTable/UGQInputData.cs
Normal file
191
ServerCommon/MetaAssets/MetaTable/UGQInputData.cs
Normal file
@@ -0,0 +1,191 @@
|
||||
// <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 UGQInputTaskMetaDataMutable
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("Name")]
|
||||
public string Name { get; set; }
|
||||
[JsonProperty("Enabled")]
|
||||
public bool Enabled { get; set; }
|
||||
[JsonProperty("ValueSource")]
|
||||
public EUGQValueSource ValueSource { get; set; }
|
||||
[JsonProperty("EventTarget")]
|
||||
public string EventTarget { get; set; }
|
||||
[JsonProperty("Event")]
|
||||
public string Event { get; set; }
|
||||
}
|
||||
|
||||
public partial class UGQInputDialogMetaDataMutable
|
||||
{
|
||||
[JsonProperty("TypeId")]
|
||||
public int TypeId { get; set; }
|
||||
[JsonProperty("TypeName")]
|
||||
public string TypeName { get; set; }
|
||||
[JsonProperty("ConditionSelection")]
|
||||
public EConditionSelection ConditionSelection { get; set; }
|
||||
[JsonProperty("ConditionName")]
|
||||
public string ConditionName { get; set; }
|
||||
[JsonProperty("ConditionSource")]
|
||||
public EUGQValueSource ConditionSource { get; set; }
|
||||
[JsonProperty("ConditionValueSource")]
|
||||
public EUGQValueSource ConditionValueSource { get; set; }
|
||||
}
|
||||
|
||||
public partial class UGQInputDialogConditionMetaDataMutable
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("Name")]
|
||||
public string Name { get; set; }
|
||||
[JsonProperty("Text")]
|
||||
public string Text { get; set; }
|
||||
}
|
||||
|
||||
public partial class UGQPresetImageMetaDataMutable
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("FileName")]
|
||||
public string FileName { get; set; }
|
||||
}
|
||||
|
||||
public partial class UGQMapImageMetaDataMutable
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("MapId")]
|
||||
public int MapId { get; set; }
|
||||
[JsonProperty("FileName")]
|
||||
public string FileName { get; set; }
|
||||
}
|
||||
|
||||
public partial class UGQInputMetaTableMutable
|
||||
{
|
||||
[JsonProperty("UGQInputTaskMetaDataList")]
|
||||
public IList<UGQInputTaskMetaDataMutable> UGQInputTaskMetaDataList { get; set; }
|
||||
[JsonProperty("UGQInputDialogMetaDataList")]
|
||||
public IList<UGQInputDialogMetaDataMutable> UGQInputDialogMetaDataList { get; set; }
|
||||
[JsonProperty("UGQInputDialogConditionMetaDataList")]
|
||||
public IList<UGQInputDialogConditionMetaDataMutable> UGQInputDialogConditionMetaDataList { get; set; }
|
||||
[JsonProperty("UGQPresetImageMetaDataList")]
|
||||
public IList<UGQPresetImageMetaDataMutable> UGQPresetImageMetaDataList { get; set; }
|
||||
[JsonProperty("UGQMapImageDataList")]
|
||||
public IList<UGQMapImageMetaDataMutable> UGQMapImageDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class UGQInputTaskMetaData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly string Name;
|
||||
public readonly bool Enabled;
|
||||
public readonly EUGQValueSource ValueSource;
|
||||
public readonly string EventTarget;
|
||||
public readonly string Event;
|
||||
public UGQInputTaskMetaData(UGQInputTaskMetaDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
Name = data.Name;
|
||||
Enabled = data.Enabled;
|
||||
ValueSource = data.ValueSource;
|
||||
EventTarget = data.EventTarget;
|
||||
Event = data.Event;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UGQInputDialogMetaData
|
||||
{
|
||||
public readonly int TypeId;
|
||||
public readonly string TypeName;
|
||||
public readonly EConditionSelection ConditionSelection;
|
||||
public readonly string ConditionName;
|
||||
public readonly EUGQValueSource ConditionSource;
|
||||
public readonly EUGQValueSource ConditionValueSource;
|
||||
public UGQInputDialogMetaData(UGQInputDialogMetaDataMutable data)
|
||||
{
|
||||
TypeId = data.TypeId;
|
||||
TypeName = data.TypeName;
|
||||
ConditionSelection = data.ConditionSelection;
|
||||
ConditionName = data.ConditionName;
|
||||
ConditionSource = data.ConditionSource;
|
||||
ConditionValueSource = data.ConditionValueSource;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UGQInputDialogConditionMetaData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly string Name;
|
||||
public readonly string Text;
|
||||
public UGQInputDialogConditionMetaData(UGQInputDialogConditionMetaDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
Name = data.Name;
|
||||
Text = data.Text;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UGQPresetImageMetaData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly string FileName;
|
||||
public UGQPresetImageMetaData(UGQPresetImageMetaDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
FileName = data.FileName;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UGQMapImageMetaData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly int MapId;
|
||||
public readonly string FileName;
|
||||
public UGQMapImageMetaData(UGQMapImageMetaDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
MapId = data.MapId;
|
||||
FileName = data.FileName;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UGQInputMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<UGQInputTaskMetaData> UGQInputTaskMetaDataList;
|
||||
public readonly IReadOnlyList<UGQInputDialogMetaData> UGQInputDialogMetaDataList;
|
||||
public readonly IReadOnlyList<UGQInputDialogConditionMetaData> UGQInputDialogConditionMetaDataList;
|
||||
public readonly IReadOnlyList<UGQPresetImageMetaData> UGQPresetImageMetaDataList;
|
||||
public readonly IReadOnlyList<UGQMapImageMetaData> UGQMapImageDataList;
|
||||
public UGQInputMetaTable(UGQInputMetaTableMutable data)
|
||||
{
|
||||
if(data.UGQInputTaskMetaDataList != null)
|
||||
UGQInputTaskMetaDataList = data.UGQInputTaskMetaDataList.Select(x => new UGQInputTaskMetaData(x)).ToList().AsReadOnly();
|
||||
if(data.UGQInputDialogMetaDataList != null)
|
||||
UGQInputDialogMetaDataList = data.UGQInputDialogMetaDataList.Select(x => new UGQInputDialogMetaData(x)).ToList().AsReadOnly();
|
||||
if(data.UGQInputDialogConditionMetaDataList != null)
|
||||
UGQInputDialogConditionMetaDataList = data.UGQInputDialogConditionMetaDataList.Select(x => new UGQInputDialogConditionMetaData(x)).ToList().AsReadOnly();
|
||||
if(data.UGQPresetImageMetaDataList != null)
|
||||
UGQPresetImageMetaDataList = data.UGQPresetImageMetaDataList.Select(x => new UGQPresetImageMetaData(x)).ToList().AsReadOnly();
|
||||
if(data.UGQMapImageDataList != null)
|
||||
UGQMapImageDataList = data.UGQMapImageDataList.Select(x => new UGQMapImageMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user