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.
Namespace: DaggerfallWorkshop.Utility.AssetInjection
Assembly: Assembly-CSharp.dll
Syntax
public static class BookReplacement
  Properties
| Improve this Doc View SourceBooksPath
Path to custom books on disk.
Declaration
public static string BooksPath { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Methods
| Improve this Doc View SourceTryImportBook(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.  |