Updates based on PR feedback
This commit is contained in:
@@ -4,16 +4,16 @@ namespace LuckerGame.Events;
|
||||
|
||||
public static partial class LuckerEvent
|
||||
{
|
||||
public const string PlayerReady = "lucker.playerReady";
|
||||
public const string LuckerReady = "lucker.luckerReady";
|
||||
|
||||
/// <summary>
|
||||
/// Event is run on the server whenever a player changes ready state
|
||||
/// The event handler is given the player that readied up and their new ready state
|
||||
/// Event is run on the server whenever a lucker changes ready state
|
||||
/// The event handler is given the lucker that readied up and their new ready state
|
||||
/// </summary>
|
||||
[MethodArguments(typeof(Entities.Lucker), typeof(bool))]
|
||||
public class PlayerReadyAttribute : EventAttribute
|
||||
public class LuckerReadyAttribute : EventAttribute
|
||||
{
|
||||
public PlayerReadyAttribute() : base(PlayerReady)
|
||||
public LuckerReadyAttribute() : base(LuckerReady)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user