C# Class TESVSnip.Domain.Data.DomainDefinition

The intent of this class is to hold all "static" information related to configuration of a game. This allows Morrowind, Oblivion, Skyrim config files to be loaded simultaneously yet seperately. This is mostly for command line and scripting application.
ファイルを表示 Open project: figment/tesvsnip Class Usage Examples

Public Methods

Method Description
AllDomains ( ) : IEnumerable
DetectDefinitionFromVersion ( string type, float version ) : DomainDefinition
DomainDefinition ( string name ) : System
GetFirstRecordOfType ( string type ) : RecordStructure
GetRecordNames ( ) : string[]
GetRecordNamesAsObjects ( ) : object[]
Load ( string p ) : DomainDefinition
LoadedDomains ( ) : IEnumerable
Lookup ( string p ) : DomainDefinition
Reload ( ) : void

Private Methods

Method Description
DomainDefinition ( ) : System
GetValue ( string>.Dictionary dict, string key, string defaultValue ) : string

Method Details

AllDomains() public static method

public static AllDomains ( ) : IEnumerable
return IEnumerable

DetectDefinitionFromVersion() public static method

public static DetectDefinitionFromVersion ( string type, float version ) : DomainDefinition
type string
version float
return DomainDefinition

DomainDefinition() public method

public DomainDefinition ( string name ) : System
name string
return System

GetFirstRecordOfType() public static method

public static GetFirstRecordOfType ( string type ) : RecordStructure
type string
return TESVSnip.Domain.Data.Structure.RecordStructure

GetRecordNames() public static method

public static GetRecordNames ( ) : string[]
return string[]

GetRecordNamesAsObjects() public static method

public static GetRecordNamesAsObjects ( ) : object[]
return object[]

Load() public static method

public static Load ( string p ) : DomainDefinition
p string
return DomainDefinition

LoadedDomains() public static method

public static LoadedDomains ( ) : IEnumerable
return IEnumerable

Lookup() public static method

public static Lookup ( string p ) : DomainDefinition
p string
return DomainDefinition

Reload() public static method

public static Reload ( ) : void
return void