67 lines
1.4 KiB
C#
67 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Serialization;
|
|
|
|
|
|
using ServerCore;
|
|
using ServerBase;
|
|
|
|
|
|
using SESSION_ID = System.Int32;
|
|
using WORLD_ID = System.UInt32;
|
|
using META_ID = System.UInt32;
|
|
using ENTITY_GUID = System.String;
|
|
using ACCOUNT_ID = System.String;
|
|
using OWNER_GUID = System.String;
|
|
using USER_GUID = System.String;
|
|
using CHARACTER_GUID = System.String;
|
|
using ITEM_GUID = System.String;
|
|
|
|
|
|
|
|
|
|
namespace ServerCommon;
|
|
|
|
|
|
public class LandAuctionActorLog : ILogActor
|
|
{
|
|
// 서버 정보
|
|
[JsonProperty]
|
|
public string RegionId { get; private set; } = string.Empty;
|
|
[JsonProperty]
|
|
public WORLD_ID WorldId { get; private set; } = 0;
|
|
[JsonProperty]
|
|
public ServerType ServerType { get; private set; } = ServerType.None;
|
|
|
|
public void initLogInfo(string regionId, WORLD_ID worldId, ServerType serverType)
|
|
{
|
|
RegionId = regionId;
|
|
WorldId = worldId;
|
|
ServerType = serverType;
|
|
}
|
|
|
|
public void setLogInfo(LandAuctionActorLog logInfo)
|
|
{
|
|
RegionId = logInfo.RegionId;
|
|
WorldId = logInfo.WorldId;
|
|
ServerType = logInfo.ServerType;
|
|
}
|
|
|
|
public LandAuctionActorLog()
|
|
{
|
|
|
|
}
|
|
|
|
public LandAuctionActorLog(LandAuctionActorLog logInfo)
|
|
{
|
|
setLogInfo(logInfo);
|
|
}
|
|
|
|
}
|