초기커밋
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
using ServerBase;
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class BattlePodCombatRewardLogInfo : ILogInvoker.IInfo
|
||||
{
|
||||
[JsonProperty("room_id")]
|
||||
public string m_room_id { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("round")]
|
||||
public int m_round { get; set; } = 0;
|
||||
|
||||
[JsonProperty("round_state")]
|
||||
public BattleRoundStateType m_round_state { get; set; } = BattleRoundStateType.None;
|
||||
|
||||
[JsonProperty("rewarded_user_guid")]
|
||||
public string m_rewarded_user_guid { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("rewarded_user_nickname")]
|
||||
public string m_rewarded_user_nickname { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("charged_step")]
|
||||
public int m_charged_step { get; set; } = 0;
|
||||
|
||||
[JsonProperty("rewarded_step")]
|
||||
public int m_rewarded_step { get; set; } = 0;
|
||||
|
||||
[JsonProperty("rewards")]
|
||||
public List<MetaAssets.Reward> m_rewards { get; set; } = new();
|
||||
|
||||
|
||||
public BattlePodCombatRewardLogInfo(ILogInvoker parent, string roomId, int round, BattleRoundStateType roundSate, string rewardUserGuid, string rewardUserNickname
|
||||
, int chargedStep, int rewardedStep, List<MetaAssets.Reward> rewards) : base(parent)
|
||||
{
|
||||
m_room_id = roomId;
|
||||
m_round = round;
|
||||
m_round_state = roundSate;
|
||||
m_rewarded_user_guid = rewardUserGuid;
|
||||
m_rewarded_user_nickname = rewardUserNickname;
|
||||
m_charged_step = chargedStep;
|
||||
m_rewarded_step = rewardedStep;
|
||||
m_rewards.AddRange(rewards);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user