29 lines
801 B
C#
29 lines
801 B
C#
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerBase;
|
|
|
|
|
|
namespace ServerCommon;
|
|
|
|
|
|
public class UserBlockLogInfo : ILogInvoker.IInfo
|
|
{
|
|
[JsonProperty("blocker_user_guid")]
|
|
public string m_blocker_user_guid { get; private set; } = string.Empty;
|
|
|
|
[JsonProperty("blocked_user_guid")]
|
|
public string m_blocked_user_guid { get; private set; } = string.Empty;
|
|
|
|
[JsonProperty("log_sub_category_type")]
|
|
public LogSubCategoryType m_log_sub_category_type { get; private set; } = LogSubCategoryType.None;
|
|
|
|
public UserBlockLogInfo(ILogInvoker parent, string blockerUserGuid, string BlockedUserGuid, LogSubCategoryType type) : base(parent)
|
|
{
|
|
m_blocker_user_guid = blockerUserGuid;
|
|
m_blocked_user_guid = BlockedUserGuid;
|
|
m_log_sub_category_type = type;
|
|
}
|
|
}
|
|
|