2024-04-08 18:20:55 +08:00
|
|
|
|
using Game.Player;
|
|
|
|
|
using Game.Room;
|
|
|
|
|
|
2024-04-11 16:44:25 +08:00
|
|
|
|
namespace Game
|
2024-04-08 18:20:55 +08:00
|
|
|
|
{
|
2024-04-11 16:44:25 +08:00
|
|
|
|
public class PlayerMoveToRoomEventArgs : GameEventArgs
|
|
|
|
|
{
|
|
|
|
|
public static readonly int EventId = typeof(PlayerMoveToRoomEventArgs).GetHashCode();
|
|
|
|
|
public override int Id => EventId;
|
2024-04-08 18:20:55 +08:00
|
|
|
|
|
2024-04-11 16:44:25 +08:00
|
|
|
|
public IPlayer player { get; }
|
|
|
|
|
public IRoom room { get; }
|
2024-04-08 18:20:55 +08:00
|
|
|
|
|
2024-04-11 16:44:25 +08:00
|
|
|
|
public PlayerMoveToRoomEventArgs(IPlayer player, IRoom room)
|
|
|
|
|
{
|
|
|
|
|
this.player = player;
|
|
|
|
|
this.room = room;
|
|
|
|
|
}
|
2024-04-08 18:20:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|