Show / Hide Table of Contents

Class EventManagerSystem

Inheritance
System.Object
EventManagerSystem
Namespace: Content.Server.StationEvents
Assembly: Content.Server.dll
Syntax
public sealed class EventManagerSystem : EntitySystem

Fields

| Improve this Doc View Source

GameTicker

Declaration
public readonly GameTicker GameTicker
Field Value
Type Description
GameTicker

Properties

| Improve this Doc View Source

EventsEnabled

Declaration
public bool EventsEnabled { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

AllEvents()

Declaration
public Dictionary<EntityPrototype, StationEventComponent> AllEvents()
Returns
Type Description
Dictionary<Robust.Shared.Prototypes.EntityPrototype, StationEventComponent>
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

PickRandomEvent()

Randomly picks a valid event.

Declaration
public string? PickRandomEvent()
Returns
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

RunRandomEvent()

Randomly runs a valid event.

Declaration
public string RunRandomEvent()
Returns
Type Description
System.String
| Improve this Doc View Source

Shutdown()

Declaration
public override void Shutdown()
| Improve this Doc View Source

TimeSinceLastEvent(EntityPrototype)

Declaration
public TimeSpan TimeSinceLastEvent(EntityPrototype stationEvent)
Parameters
Type Name Description
Robust.Shared.Prototypes.EntityPrototype stationEvent
Returns
Type Description
TimeSpan
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾