57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
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;
|
|
}
|
|
}
|