초기커밋
This commit is contained in:
66
ServerCommon/BusinessLog/LogActor/LandAuctionActorLog.cs
Normal file
66
ServerCommon/BusinessLog/LogActor/LandAuctionActorLog.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user