using UnityEngine;

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

namespace PluginAPI.Events
{
	public class Scp914ProcessPlayerEvent : IEventArguments
	{
		public ServerEventType BaseType { get; } = ServerEventType.Scp914ProcessPlayer;
		[EventArgument]
		public Player Player { get; }
		[EventArgument]
		public Scp914KnobSetting KnobSetting { get; }
		[EventArgument]
		public Vector3 OutPosition { get; set; }

		public Scp914ProcessPlayerEvent(ReferenceHub hub, Scp914KnobSetting setting, Vector3 outPosition)
		{
			Player = Player.Get(hub);
			KnobSetting = setting;
			OutPosition = outPosition;
		}

		Scp914ProcessPlayerEvent() { }
	}
}
