Class LayoutInfo
Stores information from config about a layout.
public class LayoutInfo : IDisposable
- Inheritance
-
LayoutInfo
- Implements
- Inherited Members
Properties
Configuration
Binded configuration.
public LayoutInfoConfiguration Configuration { get; }
Property Value
DisplayName
Display name of the layout. Defaults to the file name.
public required string DisplayName { get; init; }
Property Value
FilePath
File path of the configuration file.
public required string FilePath { get; init; }
Property Value
IsSeeding
If this layout is a special seeding layout, which can be activated and deactivated randomly when player count changes.
public required bool IsSeeding { get; init; }
Property Value
Layout
Configuration info about the layout of the game.
public required IConfigurationRoot Layout { get; init; }
Property Value
LayoutType
Type of Layout to create.
public required Type LayoutType { get; init; }
Property Value
Weight
Weight of this session being picked. Defaults to 1.
public required double Weight { get; init; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
ResolveRelativePath(string)
Resolves a possibly relative path to this layout.
public string ResolveRelativePath(string path)
Parameters
pathstring