46 lines
960 B
C#
46 lines
960 B
C#
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerBase;
|
|
|
|
|
|
using WORLD_ID = System.UInt32;
|
|
|
|
|
|
|
|
namespace ServerCommon;
|
|
|
|
public class GlobalPartyActorLog : 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(GlobalPartyActorLog logInfo)
|
|
{
|
|
RegionId = logInfo.RegionId;
|
|
WorldId = logInfo.WorldId;
|
|
ServerType = logInfo.ServerType;
|
|
}
|
|
|
|
public GlobalPartyActorLog()
|
|
{
|
|
|
|
}
|
|
|
|
public GlobalPartyActorLog(GlobalPartyActorLog logInfo)
|
|
{
|
|
setLogInfo(logInfo);
|
|
}
|
|
} |