35 lines
953 B
C#
35 lines
953 B
C#
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerCore; using ServerBase;
|
|
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
public class CheatClaimResetLogInfo : ILogInvoker.IInfo
|
|
{
|
|
[JsonProperty("claim_type")]
|
|
public MetaAssets.ClaimType claim_type { get; private set; } = MetaAssets.ClaimType.None;
|
|
|
|
[JsonProperty("claim_id")]
|
|
public Int32 claim_id { get; set; } = 0;
|
|
|
|
[JsonProperty("active_reward_idx")]
|
|
public int ActiveRewardIdx { get; set; } = 0;
|
|
|
|
public CheatClaimResetLogInfo(ILogInvoker parent) : base(parent)
|
|
{
|
|
}
|
|
|
|
public static CheatClaimResetLogInfo creatCheatClaimResetLogInfo(ILogInvoker parent, MetaAssets.ClaimType claimType, Int32 claimId, Int32 ActiveRewardIdx)
|
|
{
|
|
CheatClaimResetLogInfo log_info = new CheatClaimResetLogInfo(parent);
|
|
log_info.claim_type = claimType;
|
|
log_info.claim_id = claimId;
|
|
log_info.ActiveRewardIdx = ActiveRewardIdx;
|
|
|
|
return log_info;
|
|
}
|
|
}
|