Frame/Assets/Scripts/Event/Args/PlayerJinBeiChange_ToPlayer...

23 lines
657 B
C#
Raw Normal View History

2024-04-10 16:18:32 +08:00
using System;
using Game.Player;
using Game.Room;
namespace Game
2024-04-10 16:18:32 +08:00
{
public class PlayerJinBeiChange_ToPlayerEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(PlayerJinBeiChange_ToPlayerEventArgs).GetHashCode();
public override int Id => EventId;
2024-04-10 16:18:32 +08:00
public IPlayer player { get; }
public float jinbei { get; }
public Action<bool> callback { get; }
2024-04-10 16:18:32 +08:00
public PlayerJinBeiChange_ToPlayerEventArgs(IPlayer player, float jinbei, Action<bool> callback)
{
this.player = player;
this.jinbei = jinbei;
this.callback = callback;
}
2024-04-10 16:18:32 +08:00
}
}