초기커밋
This commit is contained in:
55
ServerCommon/MetaAssets/MetaTable/UserLogData.cs
Normal file
55
ServerCommon/MetaAssets/MetaTable/UserLogData.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
// <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 UserLogMetaDataMutable
|
||||
{
|
||||
[JsonProperty("ID")]
|
||||
public int ID { get; set; }
|
||||
[JsonProperty("ItemId")]
|
||||
public int ItemId { get; set; }
|
||||
}
|
||||
|
||||
public partial class UserLogMetaTableMutable
|
||||
{
|
||||
[JsonProperty("UserLogMetaDataList")]
|
||||
public IList<UserLogMetaDataMutable> UserLogMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class UserLogMetaData
|
||||
{
|
||||
public readonly int ID;
|
||||
public readonly int ItemId;
|
||||
public UserLogMetaData(UserLogMetaDataMutable data)
|
||||
{
|
||||
ID = data.ID;
|
||||
ItemId = data.ItemId;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UserLogMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<UserLogMetaData> UserLogMetaDataList;
|
||||
public UserLogMetaTable(UserLogMetaTableMutable data)
|
||||
{
|
||||
if(data.UserLogMetaDataList != null)
|
||||
UserLogMetaDataList = data.UserLogMetaDataList.Select(x => new UserLogMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user