초기커밋
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user