초기커밋
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using Newtonsoft.Json;
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
namespace ServerCommon;
|
||||
|
||||
public class BattleRespawnLogInfo : 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("user_guid")] public string m_user_guid { get; set; } = string.Empty;
|
||||
[JsonProperty("user_nickname")] public string m_user_nickname { get; set; } = string.Empty;
|
||||
[JsonProperty("respawn_anchor_guid")] public string m_respawn_anchor_guid { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty("m_next_available_respawn_time_at_this_anchor")]
|
||||
public DateTime m_next_available_respawn_time_at_this_anchor { get; set; } = DateTimeHelper.Current;
|
||||
|
||||
|
||||
public BattleRespawnLogInfo(ILogInvoker parent, string roomId, int round, BattleRoundStateType roundState, string userGuid, string userNickname, string respawnAnchorGuid, DateTime nextAvailableRespawnTimeAtThisAnchor)
|
||||
: base(parent)
|
||||
{
|
||||
m_room_id = roomId;
|
||||
m_round = round;
|
||||
m_round_state = roundState;
|
||||
m_user_guid = userGuid;
|
||||
m_user_nickname = userNickname;
|
||||
m_respawn_anchor_guid = respawnAnchorGuid;
|
||||
m_next_available_respawn_time_at_this_anchor = nextAvailableRespawnTimeAtThisAnchor;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user