C# 클래스 TESVSnip.Domain.Model.Plugin

상속: BaseRecord, IDeserializationCallback, IGroupRecord
파일 보기 프로젝트 열기: figment/tesvsnip 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DLStrings LocalizedStringDict
Filtered bool
Fixups uint[]
FormIDLookup Record>.Dictionary
ILStrings LocalizedStringDict
Masters TESVSnip.Domain.Model.Plugin[]
Strings LocalizedStringDict

Private Properties

프로퍼티 타입 설명
CreateBackupFolder string
CreateFilter bool>.Func
DetectVersion DomainDefinition
DetectVersion DomainDefinition
GetIDs List
GetRecordStructures RecordStructure>.Dictionary
IDeserializationCallback void
LoadPluginData void
LoadPluginStrings LocalizedStringDict
LoadPluginStrings LocalizedStringDict
Plugin System
RebuildCache void
SaveData void
SavePluginStrings void
SavePluginStrings void

공개 메소드들

메소드 설명
AddMaster ( string masterName ) : bool
AddRecord ( BaseRecord br ) : void
AddRecords ( IEnumerable br ) : void
Clear ( ) : void
Clone ( ) : BaseRecord
DeleteRecord ( BaseRecord br ) : bool
DeleteRecords ( IEnumerable br ) : bool
Enumerate ( Predicate match ) : IEnumerable
EnumerateRecords ( string type ) : Record>>.IEnumerable
ForEach ( Action action ) : void
GetIsEsm ( string FilePath ) : bool
GetMasters ( ) : string[]
GetNewFormID ( bool increment = false ) : uint
GetRecordByID ( uint id ) : Record
GetRecordList ( IEnumerable types ) : TESVSnip.Domain.Model.Record[]

Python helper function to get list of records.

GetRecordList ( string type ) : TESVSnip.Domain.Model.Record[]

Python helper function to get list of records.

GetRecordMaster ( uint id ) : string
IndexOf ( BaseRecord br ) : int
InsertRecord ( int idx, BaseRecord br ) : void
InsertRecords ( int index, IEnumerable br ) : void
InvalidateCache ( ) : void

Invalidate the FormID Cache.

Load ( string filePath, bool>.Func includeFilter ) : Plugin
LookupFormID ( uint id ) : string

Lookup FormID by index. Search via defined masters

LookupFormIDS ( string sid ) : string
LookupFormStrings ( uint id ) : string
Plugin ( ) : System
Plugin ( DomainDefinition define ) : System
Plugin ( byte data, string name ) : System
Plugin ( string filePath ) : System
Plugin ( string filePath, bool>.Func includeFilter ) : System
Plugin ( string filePath, bool headerOnly ) : System
Plugin ( string filePath, bool headerOnly, bool>.Func includeFilter ) : System
Plugin ( string filePath, bool headerOnly, string recExclusions ) : System
Plugin ( string filePath, string recExclusions ) : System
ReloadStrings ( ) : void
Save ( ) : byte[]
Save ( string filePath ) : void
SaveStrings ( string FilePath ) : void
ToString ( ) : string
TryGetRecordByID ( uint key, Record &value ) : bool
UpdateNextFormID ( uint newid ) : void
UpdateRecordCount ( ) : void
UpdateReferences ( IList plugins ) : void

Rules: order

While ( Predicate action ) : bool

비공개 메소드들

메소드 설명
CreateBackupFolder ( [ filePath ) : string
CreateFilter ( string recExclusions ) : bool>.Func
DetectVersion ( ) : DomainDefinition
DetectVersion ( BinaryReader br, string fileName ) : DomainDefinition
GetIDs ( bool lower ) : List
GetRecordStructures ( ) : RecordStructure>.Dictionary
IDeserializationCallback ( object sender ) : void
LoadPluginData ( BinaryReader br, bool headerOnly, bool>.Func includeFilter ) : void
LoadPluginStrings ( System encoding, LocalizedStringFormat format, BinaryReader reader ) : LocalizedStringDict
LoadPluginStrings ( System encoding, LocalizedStringFormat format, string path ) : LocalizedStringDict
Plugin ( SerializationInfo info, StreamingContext context ) : System
RebuildCache ( ) : void
SaveData ( BinaryWriter writer ) : void
SavePluginStrings ( System enc, LocalizedStringFormat format, LocalizedStringDict strings, BinaryWriter writer ) : void
SavePluginStrings ( System enc, LocalizedStringFormat format, LocalizedStringDict strings, string path ) : void

메소드 상세

AddMaster() 공개 메소드

public AddMaster ( string masterName ) : bool
masterName string
리턴 bool

AddRecord() 공개 메소드

public AddRecord ( BaseRecord br ) : void
br BaseRecord
리턴 void

AddRecords() 공개 메소드

public AddRecords ( IEnumerable br ) : void
br IEnumerable
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Clone() 공개 메소드

public Clone ( ) : BaseRecord
리턴 BaseRecord

DeleteRecord() 공개 메소드

public DeleteRecord ( BaseRecord br ) : bool
br BaseRecord
리턴 bool

DeleteRecords() 공개 메소드

public DeleteRecords ( IEnumerable br ) : bool
br IEnumerable
리턴 bool

Enumerate() 공개 메소드

public Enumerate ( Predicate match ) : IEnumerable
match Predicate
리턴 IEnumerable

EnumerateRecords() 공개 메소드

public EnumerateRecords ( string type ) : Record>>.IEnumerable
type string
리턴 Record>>.IEnumerable

ForEach() 공개 메소드

public ForEach ( Action action ) : void
action Action
리턴 void

GetIsEsm() 공개 정적인 메소드

public static GetIsEsm ( string FilePath ) : bool
FilePath string
리턴 bool

GetMasters() 공개 메소드

public GetMasters ( ) : string[]
리턴 string[]

GetNewFormID() 공개 메소드

public GetNewFormID ( bool increment = false ) : uint
increment bool
리턴 uint

GetRecordByID() 공개 메소드

public GetRecordByID ( uint id ) : Record
id uint
리턴 Record

GetRecordList() 공개 메소드

Python helper function to get list of records.
public GetRecordList ( IEnumerable types ) : TESVSnip.Domain.Model.Record[]
types IEnumerable Collection of types
리턴 TESVSnip.Domain.Model.Record[]

GetRecordList() 공개 메소드

Python helper function to get list of records.
public GetRecordList ( string type ) : TESVSnip.Domain.Model.Record[]
type string Type to
리턴 TESVSnip.Domain.Model.Record[]

GetRecordMaster() 공개 메소드

public GetRecordMaster ( uint id ) : string
id uint
리턴 string

IndexOf() 공개 메소드

public IndexOf ( BaseRecord br ) : int
br BaseRecord
리턴 int

InsertRecord() 공개 메소드

public InsertRecord ( int idx, BaseRecord br ) : void
idx int
br BaseRecord
리턴 void

InsertRecords() 공개 메소드

public InsertRecords ( int index, IEnumerable br ) : void
index int
br IEnumerable
리턴 void

InvalidateCache() 공개 메소드

Invalidate the FormID Cache.
public InvalidateCache ( ) : void
리턴 void

Load() 공개 정적인 메소드

public static Load ( string filePath, bool>.Func includeFilter ) : Plugin
filePath string
includeFilter bool>.Func
리턴 Plugin

LookupFormID() 공개 메소드

Lookup FormID by index. Search via defined masters
public LookupFormID ( uint id ) : string
id uint ///
리턴 string

LookupFormIDS() 공개 메소드

public LookupFormIDS ( string sid ) : string
sid string
리턴 string

LookupFormStrings() 공개 메소드

public LookupFormStrings ( uint id ) : string
id uint
리턴 string

Plugin() 공개 메소드

public Plugin ( ) : System
리턴 System

Plugin() 공개 메소드

public Plugin ( DomainDefinition define ) : System
define DomainDefinition
리턴 System

Plugin() 공개 메소드

public Plugin ( byte data, string name ) : System
data byte
name string
리턴 System

Plugin() 공개 메소드

public Plugin ( string filePath ) : System
filePath string
리턴 System

Plugin() 공개 메소드

public Plugin ( string filePath, bool>.Func includeFilter ) : System
filePath string
includeFilter bool>.Func
리턴 System

Plugin() 공개 메소드

public Plugin ( string filePath, bool headerOnly ) : System
filePath string
headerOnly bool
리턴 System

Plugin() 공개 메소드

public Plugin ( string filePath, bool headerOnly, bool>.Func includeFilter ) : System
filePath string
headerOnly bool
includeFilter bool>.Func
리턴 System

Plugin() 공개 메소드

public Plugin ( string filePath, bool headerOnly, string recExclusions ) : System
filePath string
headerOnly bool
recExclusions string
리턴 System

Plugin() 공개 메소드

public Plugin ( string filePath, string recExclusions ) : System
filePath string
recExclusions string
리턴 System

ReloadStrings() 공개 메소드

public ReloadStrings ( ) : void
리턴 void

Save() 공개 메소드

public Save ( ) : byte[]
리턴 byte[]

Save() 공개 메소드

public Save ( string filePath ) : void
filePath string
리턴 void

SaveStrings() 공개 메소드

public SaveStrings ( string FilePath ) : void
FilePath string
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TryGetRecordByID() 공개 메소드

public TryGetRecordByID ( uint key, Record &value ) : bool
key uint
value Record
리턴 bool

UpdateNextFormID() 공개 메소드

public UpdateNextFormID ( uint newid ) : void
newid uint
리턴 void

UpdateRecordCount() 공개 메소드

public UpdateRecordCount ( ) : void
리턴 void

UpdateReferences() 공개 메소드

Rules: order
public UpdateReferences ( IList plugins ) : void
plugins IList ///
리턴 void

While() 공개 메소드

public While ( Predicate action ) : bool
action Predicate
리턴 bool

프로퍼티 상세

DLStrings 공개적으로 프로퍼티

public LocalizedStringDict DLStrings
리턴 LocalizedStringDict

Filtered 공개적으로 프로퍼티

public bool Filtered
리턴 bool

Fixups 공개적으로 프로퍼티

public uint[] Fixups
리턴 uint[]

FormIDLookup 공개적으로 프로퍼티

public Dictionary FormIDLookup
리턴 Record>.Dictionary

ILStrings 공개적으로 프로퍼티

public LocalizedStringDict ILStrings
리턴 LocalizedStringDict

Masters 공개적으로 프로퍼티

public Plugin[],TESVSnip.Domain.Model Masters
리턴 TESVSnip.Domain.Model.Plugin[]

Strings 공개적으로 프로퍼티

public LocalizedStringDict Strings
리턴 LocalizedStringDict