Show / Hide Table of Contents

Class BookReplacement

Handles import and injection of custom books with the purpose of providing modding support. Book files are imported from mod bundles with load order or loaded directly from disk.

Inheritance
Object
BookReplacement
Namespace: DaggerfallWorkshop.Utility.AssetInjection
Assembly: Assembly-CSharp.dll
Syntax
public static class BookReplacement

Properties

| Improve this Doc View Source

BooksPath

Path to custom books on disk.

Declaration
public static string BooksPath { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

TryImportBook(String, BookFile)

Seeks book data from mods. If a book file with the given name is found, data is loaded on the given book instance. If no data is found, the instance is left unaltered.

Declaration
public static bool TryImportBook(string name, BookFile book)
Parameters
Type Name Description
String name

Name of book including .TXT extension

BookFile book

Book instance on which imported data is loaded.

Returns
Type Description
Boolean

True if book is found.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX