C# Class TESVSnip.UI.RecordBuilder

Afficher le fichier Open project: figment/tesvsnip

Méthodes publiques

Свойство Type Description
CancelAction Func
FormLookup dFormIDLookupR
StringLookup dLStringLookup
UpdateProgressAction Action

Private Properties

Свойство Type Description
CreateSubrecords bool
GetUInt32 uint
IsLikelyString bool
IsLikelyString bool
MergeRecord void
MergeRecord void
MergeRecords void
ProcessSubRecord void
UpdateProgress void

Méthodes publiques

Méthode Description
Complete ( ) : Records
CreateBlob ( ) : SubrecordElement
CreateType ( int index, string type ) : SubrecordElement
CreateType ( string type ) : SubrecordElement
CreateType ( string name, string type ) : SubrecordElement
DefaultCancel ( ) : bool
DefaultLookupR ( uint idx ) : Record
DefaultLookupS ( uint idx ) : string
DefaultUpdate ( int value ) : void
IsLikelyFloat ( float value ) : bool
Process ( Record p ) : bool
Process ( string name, Record records ) : bool
Process ( TESVSnip sr, SubRecord subrec ) : void
ProcessBase ( Record r ) : TESVSnip.Data.RecordsRecord
Start ( Plugin p ) : void
UpdateSize ( Subrecord sr ) : void

Private Methods

Méthode Description
CreateSubrecords ( RecordsRecord rr, Record r ) : bool
GetUInt32 ( byte data, int offset ) : uint
IsLikelyString ( ArraySegment data ) : bool
IsLikelyString ( byte data ) : bool
MergeRecord ( RecordsRecord baseRecord, RecordsRecord updateRecord ) : void

Update records using another record list.

MergeRecord ( Subrecord baseRecord, Subrecord updateRecord ) : void
MergeRecords ( IEnumerable baseRecords, IEnumerable updateRecords ) : void

Update records using another record list.

ProcessSubRecord ( Subrecord sr, SubRecord srs ) : void
UpdateProgress ( ) : void

Method Details

Complete() public méthode

public Complete ( ) : Records
Résultat TESVSnip.Domain.Data.Structure.Xml.Records

CreateBlob() public méthode

public CreateBlob ( ) : SubrecordElement
Résultat TESVSnip.Domain.Data.Structure.Xml.SubrecordElement

CreateType() public méthode

public CreateType ( int index, string type ) : SubrecordElement
index int
type string
Résultat TESVSnip.Domain.Data.Structure.Xml.SubrecordElement

CreateType() public méthode

public CreateType ( string type ) : SubrecordElement
type string
Résultat TESVSnip.Domain.Data.Structure.Xml.SubrecordElement

CreateType() public méthode

public CreateType ( string name, string type ) : SubrecordElement
name string
type string
Résultat TESVSnip.Domain.Data.Structure.Xml.SubrecordElement

DefaultCancel() public static méthode

public static DefaultCancel ( ) : bool
Résultat bool

DefaultLookupR() public static méthode

public static DefaultLookupR ( uint idx ) : Record
idx uint
Résultat TESVSnip.Domain.Model.Record

DefaultLookupS() public static méthode

public static DefaultLookupS ( uint idx ) : string
idx uint
Résultat string

DefaultUpdate() public static méthode

public static DefaultUpdate ( int value ) : void
value int
Résultat void

IsLikelyFloat() public static méthode

public static IsLikelyFloat ( float value ) : bool
value float
Résultat bool

Process() public méthode

public Process ( Record p ) : bool
p TESVSnip.Domain.Model.Record
Résultat bool

Process() public méthode

public Process ( string name, Record records ) : bool
name string
records TESVSnip.Domain.Model.Record
Résultat bool

Process() public méthode

public Process ( TESVSnip sr, SubRecord subrec ) : void
sr TESVSnip
subrec SubRecord
Résultat void

ProcessBase() public méthode

public ProcessBase ( Record r ) : TESVSnip.Data.RecordsRecord
r TESVSnip.Domain.Model.Record
Résultat TESVSnip.Data.RecordsRecord

Start() public méthode

public Start ( Plugin p ) : void
p TESVSnip.Domain.Model.Plugin
Résultat void

UpdateSize() public méthode

public UpdateSize ( Subrecord sr ) : void
sr TESVSnip.Domain.Data.Structure.Xml.Subrecord
Résultat void

Property Details

CancelAction public_oe property

public Func CancelAction
Résultat Func

FormLookup public_oe property

public dFormIDLookupR FormLookup
Résultat dFormIDLookupR

StringLookup public_oe property

public dLStringLookup StringLookup
Résultat dLStringLookup

UpdateProgressAction public_oe property

public Action UpdateProgressAction
Résultat Action