Class RulePlayerJobsAssignedEvent
Event raised after players were assigned jobs by the GameTicker.
You can give on-station people special roles by listening to this event.
Inheritance
System.Object
RulePlayerJobsAssignedEvent
Assembly: Content.Server.dll
Syntax
public sealed class RulePlayerJobsAssignedEvent : object
Constructors
|
Improve this Doc
View Source
RulePlayerJobsAssignedEvent(IPlayerSession[], IReadOnlyDictionary<NetUserId, HumanoidCharacterProfile>, Boolean)
Declaration
public RulePlayerJobsAssignedEvent(IPlayerSession[] players, IReadOnlyDictionary<NetUserId, HumanoidCharacterProfile> profiles, bool forced)
Parameters
Type |
Name |
Description |
Robust.Server.Player.IPlayerSession[] |
players |
|
IReadOnlyDictionary<Robust.Shared.Network.NetUserId, HumanoidCharacterProfile> |
profiles |
|
System.Boolean |
forced |
|
Properties
|
Improve this Doc
View Source
Forced
Declaration
public bool Forced { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Players
Declaration
public IPlayerSession[] Players { get; }
Property Value
Type |
Description |
Robust.Server.Player.IPlayerSession[] |
|
|
Improve this Doc
View Source
Profiles
Declaration
public IReadOnlyDictionary<NetUserId, HumanoidCharacterProfile> Profiles { get; }
Property Value