초기커밋
This commit is contained in:
124
ServerCommon/MetaAssets/MetaTable/TestUserCreateData.cs
Normal file
124
ServerCommon/MetaAssets/MetaTable/TestUserCreateData.cs
Normal file
@@ -0,0 +1,124 @@
|
||||
// <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 TestUserCreateMetaDataMutable
|
||||
{
|
||||
[JsonProperty("meta_id")]
|
||||
public int MetaId { get; set; }
|
||||
[JsonProperty("aid")]
|
||||
public string Aid { get; set; }
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
[JsonProperty("password")]
|
||||
public string Password { get; set; }
|
||||
[JsonProperty("user_name")]
|
||||
public string UserName { get; set; }
|
||||
[JsonProperty("language")]
|
||||
public LanguageType Language { get; set; }
|
||||
[JsonProperty("avatar_id")]
|
||||
public double AvatarId { get; set; }
|
||||
[JsonProperty("inventory_items")]
|
||||
public IList<int> InventoryItems { get; set; }
|
||||
[JsonProperty("wearing_items")]
|
||||
public IList<int> WearingItems { get; set; }
|
||||
[JsonProperty("tool_presets")]
|
||||
public IList<int> ToolPresets { get; set; }
|
||||
[JsonProperty("tattoo_items")]
|
||||
public IList<int> TattooItems { get; set; }
|
||||
[JsonProperty("BASICSTYLE")]
|
||||
public int BasicStyle { get; set; }
|
||||
[JsonProperty("BODYSHAPE")]
|
||||
public int BodyShape { get; set; }
|
||||
[JsonProperty("HAIRSTYLE")]
|
||||
public int HairStyle { get; set; }
|
||||
[JsonProperty("customValue")]
|
||||
public IList<int> CustomValues { get; set; }
|
||||
[JsonProperty("usergroup")]
|
||||
public string usergroup_ { get; set; }
|
||||
[JsonProperty("operator")]
|
||||
public double Operator_ { get; set; }
|
||||
}
|
||||
|
||||
public partial class TestUserCreateMetaTableMutable
|
||||
{
|
||||
[JsonProperty("TestUserCreateMetaDataList")]
|
||||
public IList<TestUserCreateMetaDataMutable> TestUserCreateMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class TestUserCreateMetaData : IMetaData
|
||||
{
|
||||
public string toBasicString()
|
||||
{
|
||||
return $"{this.GetType().Name}";
|
||||
}
|
||||
public readonly int MetaId;
|
||||
public readonly string Aid;
|
||||
public readonly string Id;
|
||||
public readonly string Password;
|
||||
public readonly string UserName;
|
||||
public readonly LanguageType Language;
|
||||
public readonly double AvatarId;
|
||||
public readonly IReadOnlyList<int> InventoryItems;
|
||||
public readonly IReadOnlyList<int> WearingItems;
|
||||
public readonly IReadOnlyList<int> ToolPresets;
|
||||
public readonly IReadOnlyList<int> TattooItems;
|
||||
public readonly int BasicStyle;
|
||||
public readonly int BodyShape;
|
||||
public readonly int HairStyle;
|
||||
public readonly IReadOnlyList<int> CustomValues;
|
||||
public readonly string usergroup_;
|
||||
public readonly double Operator_;
|
||||
public TestUserCreateMetaData(TestUserCreateMetaDataMutable data)
|
||||
{
|
||||
MetaId = data.MetaId;
|
||||
Aid = data.Aid;
|
||||
Id = data.Id;
|
||||
Password = data.Password;
|
||||
UserName = data.UserName;
|
||||
Language = data.Language;
|
||||
AvatarId = data.AvatarId;
|
||||
if(data.InventoryItems != null)
|
||||
InventoryItems = data.InventoryItems.ToList().AsReadOnly();
|
||||
if(data.WearingItems != null)
|
||||
WearingItems = data.WearingItems.ToList().AsReadOnly();
|
||||
if(data.ToolPresets != null)
|
||||
ToolPresets = data.ToolPresets.ToList().AsReadOnly();
|
||||
if(data.TattooItems != null)
|
||||
TattooItems = data.TattooItems.ToList().AsReadOnly();
|
||||
BasicStyle = data.BasicStyle;
|
||||
BodyShape = data.BodyShape;
|
||||
HairStyle = data.HairStyle;
|
||||
if(data.CustomValues != null)
|
||||
CustomValues = data.CustomValues.ToList().AsReadOnly();
|
||||
usergroup_ = data.usergroup_;
|
||||
Operator_ = data.Operator_;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class TestUserCreateMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<TestUserCreateMetaData> TestUserCreateMetaDataList;
|
||||
public TestUserCreateMetaTable(TestUserCreateMetaTableMutable data)
|
||||
{
|
||||
if(data.TestUserCreateMetaDataList != null)
|
||||
TestUserCreateMetaDataList = data.TestUserCreateMetaDataList.Select(x => new TestUserCreateMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user