Table of Contents

Class TitleStorage

Namespace
Sdl3Sharp.IO
Assembly
Sdl3Sharp.dll

A read-only storage container for the application's file system

public sealed class TitleStorage : Storage, IDisposable
Inheritance
TitleStorage
Implements
Inherited Members

Constructors

TitleStorage(string?, Properties?)

Creates a new TitleStorage

public TitleStorage(string? rootOverride = null, Properties? properties = null)

Parameters

rootOverride string

A path to override the backend's default title root, or null to not override

properties Properties

An optional group of properties that may contain backend-specific information

Remarks

By default, TitleStorage uses the generic storage implementation. When the rootOverride is not provided, the generic implementation will use the output of BasePath as the base path.

Exceptions

SdlException

The TitleStorage could not be opened (check TryGet(out string?) for more information)