초기커밋
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
namespace BrokerCore.BrokerBusinessLog;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
using ServerBase;
|
||||
|
||||
public class PlanetProviderLogActor : IWithLogActor
|
||||
{
|
||||
// 로그 행위자 정보
|
||||
public class LogActor : ILogActor
|
||||
{
|
||||
[JsonProperty] public ServerType ServerType { get; init; } = ServerType.BrokerApi;
|
||||
[JsonProperty] public string PlanetId { get; init; } = string.Empty;
|
||||
}
|
||||
|
||||
private readonly ILogActor m_log_actor;
|
||||
|
||||
public PlanetProviderLogActor(string planetId)
|
||||
{
|
||||
m_log_actor = new LogActor { PlanetId = planetId};
|
||||
}
|
||||
|
||||
public ILogActor toLogActor()
|
||||
{
|
||||
return m_log_actor;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
|
||||
namespace BrokerCore.BrokerBusinessLog;
|
||||
|
||||
public class PlanetUserLogActor : ILogActor
|
||||
{
|
||||
[JsonProperty] public ServerType ServerType { get; init; } = ServerType.BrokerApi;
|
||||
[JsonProperty] public string PlanetId { get; init; } = string.Empty; // 플래닛 아이디
|
||||
[JsonProperty] public string AccountIdString { get; init; } = string.Empty; // 계정 식별 문자열
|
||||
[JsonProperty] public string AccountId { get; init; } = string.Empty; // 계정 식별키
|
||||
[JsonProperty] public string UserGuid { get; init; } = string.Empty; // 유저 식별키
|
||||
[JsonProperty] public string UserNickname { get; init; } = string.Empty;
|
||||
[JsonProperty] public AccountType AccountType { get; init; } = AccountType.None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user