C# Class Alexandria.Engines.DarkSouls.Engine

The engine for Dark Souls.
Inheritance: Alexandria.Engine
ファイルを表示 Open project: Burton-Radons/Alexandria Class Usage Examples

Public Methods

Method Description
Engine ( Plugin plugin ) : System

Initialise the engine by adding all the formats.

GetItemLanguageArchive ( Archive baseArchive, System.Language language = Language.English ) : Archive

Get the item language archive, which contains the ItemArchiveId StringArchives.

GetLanguageId ( System.Language language ) : string

Get a language id value.

GetStringArchive ( Archive baseArchive, ItemArchiveId id, System.Language language = Language.English ) : StringArchive

Get the string archive from the ItemArchiveId.

GetTranslation ( string text, string defaultValue = null ) : string

Attempt to translate a Japanese phrase in the data files into English.

Method Details

Engine() public method

Initialise the engine by adding all the formats.
public Engine ( Plugin plugin ) : System
plugin Plugin
return System

GetItemLanguageArchive() public static method

Get the item language archive, which contains the ItemArchiveId StringArchives.
public static GetItemLanguageArchive ( Archive baseArchive, System.Language language = Language.English ) : Archive
baseArchive Archive
language System.Language
return Archive

GetLanguageId() public static method

Get a language id value.
public static GetLanguageId ( System.Language language ) : string
language System.Language
return string

GetStringArchive() public static method

Get the string archive from the ItemArchiveId.
public static GetStringArchive ( Archive baseArchive, ItemArchiveId id, System.Language language = Language.English ) : StringArchive
baseArchive Archive
id ItemArchiveId
language System.Language
return StringArchive

GetTranslation() public static method

Attempt to translate a Japanese phrase in the data files into English.
public static GetTranslation ( string text, string defaultValue = null ) : string
text string
defaultValue string
return string