Show / Hide Table of Contents

Class GamePresetPrototype

A round-start setup preset, such as which antagonists to spawn.

Inheritance
System.Object
GamePresetPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Server.GameTicking.Presets
Assembly: Content.Server.dll
Syntax
public sealed class GamePresetPrototype : object, IPrototype

Fields

| Improve this Doc View Source

Alias

Declaration
public string[] Alias
Field Value
Type Description
System.String[]
| Improve this Doc View Source

Description

Declaration
public string Description
Field Value
Type Description
System.String
| Improve this Doc View Source

MapPool

If specified, the gamemode will only be run with these maps. If none are elligible, the global fallback will be used.

Declaration
public string? MapPool
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

MaxPlayers

Declaration
public int? MaxPlayers
Field Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MinPlayers

Declaration
public int? MinPlayers
Field Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

ModeTitle

Declaration
public string ModeTitle
Field Value
Type Description
System.String
| Improve this Doc View Source

ShowInVote

Declaration
public bool ShowInVote
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Rules

Declaration
public IReadOnlyList<string> Rules { get; }
Property Value
Type Description
IReadOnlyList<System.String>

Implements

Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾