Show / Hide Table of Contents

Class PreGameMapLoad

Event raised before the game loads a given map. This event is mutable, and load options should be tweaked if necessary.

Inheritance
System.Object
PreGameMapLoad
Namespace: Content.Server.GameTicking
Assembly: Content.Server.dll
Syntax
public sealed class PreGameMapLoad : EntityEventArgs
Remarks

You likely want to subscribe to this after StationSystem.

Constructors

| Improve this Doc View Source

PreGameMapLoad(MapId, GameMapPrototype, MapLoadOptions)

Declaration
public PreGameMapLoad(MapId map, GameMapPrototype gameMap, MapLoadOptions options)
Parameters
Type Name Description
Robust.Shared.Map.MapId map
GameMapPrototype gameMap
Robust.Server.Maps.MapLoadOptions options

Fields

| Improve this Doc View Source

GameMap

Declaration
public GameMapPrototype GameMap
Field Value
Type Description
GameMapPrototype
| Improve this Doc View Source

Map

Declaration
public readonly MapId Map
Field Value
Type Description
Robust.Shared.Map.MapId
| Improve this Doc View Source

Options

Declaration
public MapLoadOptions Options
Field Value
Type Description
Robust.Server.Maps.MapLoadOptions
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾