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 SourcePreGameMapLoad(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 SourceGameMap
Declaration
public GameMapPrototype GameMap
Field Value
Type | Description |
---|---|
GameMapPrototype |
Map
Declaration
public readonly MapId Map
Field Value
Type | Description |
---|---|
Robust.Shared.Map.MapId |
Options
Declaration
public MapLoadOptions Options
Field Value
Type | Description |
---|---|
Robust.Server.Maps.MapLoadOptions |