demo
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
#nullable enable
|
||||
|
||||
using ReplacedPerson.Core;
|
||||
using ShrinkEventBus;
|
||||
|
||||
namespace ReplacedPerson.Runtime
|
||||
{
|
||||
public sealed class ReplacedMatchPhaseEvent : EventBase
|
||||
{
|
||||
public int Round { get; set; }
|
||||
public ReplacedMatchPhase MatchPhase { get; set; }
|
||||
public int LeadPlayer { get; set; }
|
||||
public string StateHash { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public sealed class ReplacedCardsCommittedEvent : EventBase
|
||||
{
|
||||
public int PlayerIndex { get; set; }
|
||||
public string[] NormalCardIds { get; set; } = System.Array.Empty<string>();
|
||||
public string[] EndCardIds { get; set; } = System.Array.Empty<string>();
|
||||
}
|
||||
|
||||
public sealed class ReplacedDiceEvent : EventBase
|
||||
{
|
||||
public int Slot { get; set; }
|
||||
public int PlayerOneRoll { get; set; }
|
||||
public int PlayerTwoRoll { get; set; }
|
||||
}
|
||||
|
||||
public sealed class ReplacedDamageEvent : EventBase
|
||||
{
|
||||
public int TargetPlayer { get; set; }
|
||||
public int Amount { get; set; }
|
||||
public int RemainingHealth { get; set; }
|
||||
}
|
||||
|
||||
public sealed class ReplacedRewardEvent : EventBase
|
||||
{
|
||||
public string RewardId { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public sealed class ReplacedSaveEvent : EventBase
|
||||
{
|
||||
public string Operation { get; set; } = string.Empty;
|
||||
public bool Success { get; set; }
|
||||
}
|
||||
|
||||
public sealed class ReplacedNetworkStatusEvent : EventBase
|
||||
{
|
||||
public string Status { get; set; } = string.Empty;
|
||||
public string Detail { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user