초기커밋
This commit is contained in:
56
ServerCommon/1. Define/BusinessLog/Domain/AddressLogInfo.cs
Normal file
56
ServerCommon/1. Define/BusinessLog/Domain/AddressLogInfo.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class AddressLogInfo : ILogInvoker.IInfo
|
||||
{
|
||||
[JsonProperty]
|
||||
public int WorldMetaId { get; set; }
|
||||
[JsonProperty]
|
||||
public int LandMetaId { get; set; }
|
||||
[JsonProperty]
|
||||
public int BuildingMetaId { get; set; }
|
||||
[JsonProperty]
|
||||
public int Floor { get; set; }
|
||||
[JsonProperty]
|
||||
public int InstanceMetaId { get; set; }
|
||||
[JsonProperty]
|
||||
public string MyhomeGuid { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public string OwnerGuid { get; set; } = string.Empty;
|
||||
|
||||
public AddressLogInfo()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
public AddressLogInfo(ILogInvoker parent, AddressLogInfo logParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != logParam)
|
||||
{
|
||||
setAddressInfo(logParam);
|
||||
}
|
||||
}
|
||||
|
||||
public void setAddressInfo(AddressLogInfo logInfo)
|
||||
{
|
||||
WorldMetaId = logInfo.WorldMetaId;
|
||||
LandMetaId = logInfo.LandMetaId;
|
||||
BuildingMetaId = logInfo.BuildingMetaId;
|
||||
Floor = logInfo.Floor;
|
||||
InstanceMetaId = logInfo.InstanceMetaId;
|
||||
MyhomeGuid = logInfo.MyhomeGuid;
|
||||
OwnerGuid = logInfo.OwnerGuid;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user