Table of Contents

Class LoaderContext

Namespace
Core.Loaders
Assembly
Core.dll

Context provided to loaders during data loading. Contains registries and configuration needed for loading.

public class LoaderContext
Inheritance
object
LoaderContext

Constructors

LoaderContext(GameRegistries, string)

public LoaderContext(GameRegistries registries, string dataPath)

Parameters

registries GameRegistries
dataPath string

Properties

DataPath

Root data directory path.

public string DataPath { get; }

Property Value

string

EnableDetailedLogging

Whether to enable detailed logging.

public bool EnableDetailedLogging { get; set; }

Property Value

bool

Registries

Game registries to populate with loaded data.

public GameRegistries Registries { get; }

Property Value

GameRegistries