초기커밋
This commit is contained in:
47
ServerCommon/BusinessLog/LogActor/CaliumActorLog.cs
Normal file
47
ServerCommon/BusinessLog/LogActor/CaliumActorLog.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
|
||||
|
||||
using WORLD_ID = System.UInt32;
|
||||
|
||||
|
||||
namespace ServerCommon;
|
||||
|
||||
public class CaliumActorLog : 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(CaliumActorLog logInfo)
|
||||
{
|
||||
RegionId = logInfo.RegionId;
|
||||
WorldId = logInfo.WorldId;
|
||||
ServerType = logInfo.ServerType;
|
||||
}
|
||||
|
||||
public CaliumActorLog()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public CaliumActorLog(CaliumActorLog logInfo)
|
||||
{
|
||||
setLogInfo(logInfo);
|
||||
}
|
||||
}
|
||||
46
ServerCommon/BusinessLog/LogActor/GlobalPartyActorLog.cs
Normal file
46
ServerCommon/BusinessLog/LogActor/GlobalPartyActorLog.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
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);
|
||||
}
|
||||
}
|
||||
47
ServerCommon/BusinessLog/LogActor/NoticeChatActorLog.cs
Normal file
47
ServerCommon/BusinessLog/LogActor/NoticeChatActorLog.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using WORLD_ID = System.UInt32;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
|
||||
|
||||
namespace ServerCommon;
|
||||
|
||||
public class NoticeChatActorLog : 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(NoticeChatActorLog logInfo)
|
||||
{
|
||||
RegionId = logInfo.RegionId;
|
||||
WorldId = logInfo.WorldId;
|
||||
ServerType = logInfo.ServerType;
|
||||
}
|
||||
|
||||
public NoticeChatActorLog()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public NoticeChatActorLog(NoticeChatActorLog logInfo)
|
||||
{
|
||||
setLogInfo(logInfo);
|
||||
}
|
||||
|
||||
}
|
||||
46
ServerCommon/BusinessLog/LogActor/SystemMailActorLog.cs
Normal file
46
ServerCommon/BusinessLog/LogActor/SystemMailActorLog.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
|
||||
|
||||
using WORLD_ID = System.UInt32;
|
||||
|
||||
|
||||
namespace ServerCommon;
|
||||
|
||||
public class SystemMailActorLog : 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 SystemMailActorLog()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public SystemMailActorLog(GlobalPartyActorLog logInfo)
|
||||
{
|
||||
setLogInfo(logInfo);
|
||||
}
|
||||
|
||||
}
|
||||
128
ServerCommon/BusinessLog/LogActor/UserActorLog.cs
Normal file
128
ServerCommon/BusinessLog/LogActor/UserActorLog.cs
Normal file
@@ -0,0 +1,128 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
|
||||
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;
|
||||
|
||||
//===================================================================================
|
||||
// 로그 주체 : UserActorLog,
|
||||
//===================================================================================
|
||||
public class UserActorLog : 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;
|
||||
// 계정 정보
|
||||
[JsonProperty]
|
||||
public string AccountIdString { get; private set; } = string.Empty; // 계정 식별 문자열
|
||||
[JsonProperty]
|
||||
public string AccountId { get; private set; } = string.Empty; // 계정 식별키
|
||||
// 유저 정보
|
||||
[JsonProperty]
|
||||
public string UserGuid { get; private set; } = string.Empty; // 유저 식별키
|
||||
[JsonProperty]
|
||||
public string UserNickname { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public UInt16 UserLevel { get; private set; } = 0;
|
||||
// 캐릭터 정보
|
||||
[JsonProperty]
|
||||
public META_ID CharacterMetaId { get; private set; } = 0;
|
||||
[JsonProperty]
|
||||
public CharRace CharacterRace { get; private set; } = CharRace.None;
|
||||
// 기타
|
||||
[JsonProperty]
|
||||
public AuthAdminLevelType AuthAdminLevelType { get; private set; } = AuthAdminLevelType.None;
|
||||
[JsonProperty]
|
||||
public AccountType AccountType { get; private set; } = AccountType.None;
|
||||
[JsonProperty]
|
||||
public AccountCreationType AccountCreationType { get; private set; } = AccountCreationType.None;
|
||||
[JsonProperty]
|
||||
public Google.Protobuf.ByteString WebAuthParams { get; private set; } = Google.Protobuf.ByteString.Empty;
|
||||
|
||||
public void initLogInfo( string regionId, WORLD_ID worldId
|
||||
, ServerType serverType
|
||||
, string serverDetail
|
||||
, string accountIdString, string accountId
|
||||
, string userGuid
|
||||
, string userNickname
|
||||
, UInt16 userLevel
|
||||
, META_ID charMetaId, CharRace charRace
|
||||
, AuthAdminLevelType authAdminLevelType
|
||||
, AccountType accountType
|
||||
, AccountCreationType accountCreationType
|
||||
, Google.Protobuf.ByteString webAuthParams)
|
||||
{
|
||||
RegionId = regionId;
|
||||
WorldId = worldId;
|
||||
ServerType = serverType;
|
||||
ServerDetail = serverDetail;
|
||||
AccountIdString = accountIdString;
|
||||
AccountId = accountId;
|
||||
UserGuid = userGuid;
|
||||
UserNickname = userNickname;
|
||||
UserLevel = UserLevel;
|
||||
CharacterMetaId = charMetaId;
|
||||
CharacterRace = charRace;
|
||||
AuthAdminLevelType = authAdminLevelType;
|
||||
AccountType = accountType;
|
||||
AccountCreationType = accountCreationType;
|
||||
WebAuthParams = webAuthParams;
|
||||
}
|
||||
|
||||
public void setLogInfo(UserActorLog logInfo)
|
||||
{
|
||||
RegionId = logInfo.RegionId;
|
||||
WorldId = logInfo.WorldId;
|
||||
ServerType = logInfo.ServerType;
|
||||
ServerDetail = logInfo.ServerDetail;
|
||||
UserGuid = logInfo.UserGuid;
|
||||
AccountIdString = logInfo.AccountIdString;
|
||||
AccountId = logInfo.AccountId;
|
||||
UserNickname = logInfo.UserNickname;
|
||||
UserLevel = logInfo.UserLevel;
|
||||
CharacterMetaId = logInfo.CharacterMetaId;
|
||||
CharacterRace = logInfo.CharacterRace;
|
||||
AuthAdminLevelType = logInfo.AuthAdminLevelType;
|
||||
AccountType = logInfo.AccountType;
|
||||
AccountCreationType = logInfo.AccountCreationType;
|
||||
WebAuthParams = logInfo.WebAuthParams;
|
||||
}
|
||||
|
||||
public UserActorLog()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public UserActorLog(UserActorLog logInfo)
|
||||
{
|
||||
setLogInfo(logInfo);
|
||||
}
|
||||
|
||||
}//UserActorLog
|
||||
Reference in New Issue
Block a user