초기커밋
This commit is contained in:
50
ServerCommon/BusinessLog/LogActor/LogicActorLog.cs
Normal file
50
ServerCommon/BusinessLog/LogActor/LogicActorLog.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
|
||||
|
||||
using WORLD_ID = System.UInt32;
|
||||
|
||||
|
||||
namespace ServerCommon;
|
||||
|
||||
public class LogicActorLog : 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;
|
||||
[JsonProperty]
|
||||
public string ServerDetail { get; private set; } = string.Empty;
|
||||
|
||||
public void initLogInfo( string regionId, WORLD_ID worldId
|
||||
, ServerType serverType, string serverDetail)
|
||||
{
|
||||
RegionId = regionId;
|
||||
WorldId = worldId;
|
||||
ServerType = serverType;
|
||||
ServerDetail = serverDetail;
|
||||
}
|
||||
|
||||
public void setLogInfo(LogicActorLog logInfo)
|
||||
{
|
||||
RegionId = logInfo.RegionId;
|
||||
WorldId = logInfo.WorldId;
|
||||
ServerType = logInfo.ServerType;
|
||||
ServerDetail = logInfo.ServerDetail;
|
||||
}
|
||||
|
||||
public LogicActorLog()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public LogicActorLog(LogicActorLog logInfo)
|
||||
{
|
||||
setLogInfo(logInfo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user