using PluginAPI.Core;
using PluginAPI.Enums;
using PluginAPI.Core.Attributes;

namespace PluginAPI.Events
{
	public class Scp079UseTeslaEvent : IEventArguments
	{
		public ServerEventType BaseType { get; } = ServerEventType.Scp079UseTesla;
		[EventArgument]
		public Player Player { get; }
		[EventArgument]
		public TeslaGate Tesla { get; }

		public Scp079UseTeslaEvent(ReferenceHub hub, TeslaGate tesla)
		{
			Player = Player.Get(hub);
			Tesla = tesla;
		}

		Scp079UseTeslaEvent() { }
	}
}
