* Add job whitelist system * Address reviews * Fix name * Apply suggestions from code review Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> * cancinium --------- Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
14 lines
411 B
C#
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;
|
|
}
|