Skip to content

IGameModeConfigBase

13.18 Interface

Inheritance 82 descendants

Class Documentation

Edit documentation

A per-mode config: a block of settings that one game mode opts into. A mode ships a config by linking it from Configs or ConfigsClient on its GameModeMapData. When the mode loads, the client collects every linked object into one table, keyed by the object's class.

Client code that needs a config asks that table for its class. What a miss means depends on the class:

  • For most classes the feature is simply off, or runs on values built into the client.
  • For a few classes, such as MinimapDrawConfig and 0xb2ff06ac, the client creates an object with default values instead. For those a missing object means "defaults", not "off".

Some configs are never looked up. They act once, when the mode's configs are loaded, and change other state from there: 0xa4a0d032 replaces the per-level stat factors, and 0xc3df8115 switches the role-bound quest system on.