Class CrewManifestSystem
Inheritance
System.Object
CrewManifestSystem
Namespace: Content.Server.CrewManifest
Assembly: Content.Server.dll
Syntax
public sealed class CrewManifestSystem : EntitySystem
Methods
| Improve this Doc View SourceCloseEui(EntityUid, ICommonSession, Nullable<EntityUid>)
Closes an EUI for a given player.
Declaration
public void CloseEui(EntityUid station, ICommonSession session, EntityUid? owner = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | station | Station that we're displaying the crew manifest for. |
Robust.Shared.Players.ICommonSession | session | The player's session. |
System.Nullable<EntityUid> | owner | The owner of this EUI, if there was one. |
GetCrewManifest(EntityUid)
Gets the crew manifest for a given station, along with the name of the station.
Declaration
public (string name, CrewManifestEntries entries) GetCrewManifest(EntityUid station)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | station | Entity uid of the station. |
Returns
Type | Description |
---|---|
System.ValueTuple<System.String, CrewManifestEntries> | The name and crew manifest entries (unordered) of the station. |
Initialize()
Declaration
public override void Initialize()
OpenEui(EntityUid, IPlayerSession, Nullable<EntityUid>)
Opens a crew manifest EUI for a given player.
Declaration
public void OpenEui(EntityUid station, IPlayerSession session, EntityUid? owner = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | station | Station that we're displaying the crew manifest for. |
Robust.Server.Player.IPlayerSession | session | The player's session. |
System.Nullable<EntityUid> | owner | If this EUI should be 'owned' by an entity. |