37 lines
980 B
C#
37 lines
980 B
C#
using System;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerCore; using ServerBase;
|
|
|
|
|
|
namespace ServerCommon;
|
|
|
|
public class CheatClaimRewardableLogInfo : 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 CheatClaimRewardableLogInfo(ILogInvoker parent) : base(parent)
|
|
{
|
|
}
|
|
|
|
public static CheatClaimRewardableLogInfo creatCheatClaimRewardableLogInfo(ILogInvoker parent, MetaAssets.ClaimType claimType, Int32 claimId, Int32 ActiveRewardIdx)
|
|
{
|
|
CheatClaimRewardableLogInfo log_info = new CheatClaimRewardableLogInfo(parent);
|
|
log_info.claim_type = claimType;
|
|
log_info.claim_id = claimId;
|
|
log_info.ActiveRewardIdx = ActiveRewardIdx;
|
|
|
|
return log_info;
|
|
}
|
|
}
|