Files
wwdpublic/Content.Server/GameTicking/Events/IsJobAllowedEvent.cs
2024-11-21 17:49:04 +07:00

14 lines
411 B
C#

using Content.Shared.Roles;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
namespace Content.Server.GameTicking.Events;
[ByRefEvent]
public struct IsJobAllowedEvent(ICommonSession player, ProtoId<JobPrototype> jobId, bool cancelled = false)
{
public readonly ICommonSession Player = player;
public readonly ProtoId<JobPrototype> JobId = jobId;
public bool Cancelled = cancelled;
}