C# Class Nexus.Client.Games.Gamebryo.Tools.TESsnip.BaseRecord

The base record type found in TES plugins.
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Свойство Type Description
Name string

Méthodes publiques

Méthode Description
AddRecord ( BaseRecord br ) : void

Adds the given sub-record to the record.

Clone ( ) : BaseRecord

Clones the record.

DeleteRecord ( BaseRecord br ) : void

Deletes the specified sub-record from the record.

GetDesc ( ) : string

Gets the description of the record.

Méthodes protégées

Méthode Description
CloseDecompressor ( ) : void

Closes teh decompressor.

Decompress ( BinaryReader br, int size, int outsize ) : BinaryReader

Decompressed the data in the given stream.

InitDecompressor ( ) : void

Initializes teh decompressor.

ReadRecName ( BinaryReader br ) : string

Reads the name of the given record.

WriteString ( BinaryWriter bw, string s ) : void

Writes a string to the given stream.

Private Methods

Méthode Description
GetIDs ( bool lower ) : List

Gets the ids of the sub-records in the record.

SaveData ( BinaryWriter bw ) : void

Method Details

AddRecord() public abstract méthode

Adds the given sub-record to the record.
public abstract AddRecord ( BaseRecord br ) : void
br BaseRecord The record to add.
Résultat void

Clone() public abstract méthode

Clones the record.
public abstract Clone ( ) : BaseRecord
Résultat BaseRecord

CloseDecompressor() protected static méthode

Closes teh decompressor.
protected static CloseDecompressor ( ) : void
Résultat void

Decompress() protected static méthode

Decompressed the data in the given stream.
protected static Decompress ( BinaryReader br, int size, int outsize ) : BinaryReader
br System.IO.BinaryReader The stream containing the compressed data.
size int The number of byte to decompress.
outsize int The sixe of the decrompressed data.
Résultat System.IO.BinaryReader

DeleteRecord() public abstract méthode

Deletes the specified sub-record from the record.
public abstract DeleteRecord ( BaseRecord br ) : void
br BaseRecord The record to delete.
Résultat void

GetDesc() public abstract méthode

Gets the description of the record.
public abstract GetDesc ( ) : string
Résultat string

InitDecompressor() protected static méthode

Initializes teh decompressor.
protected static InitDecompressor ( ) : void
Résultat void

ReadRecName() protected static méthode

Reads the name of the given record.
protected static ReadRecName ( BinaryReader br ) : string
br System.IO.BinaryReader The record whose name is to be read.
Résultat string

WriteString() protected static méthode

Writes a string to the given stream.
protected static WriteString ( BinaryWriter bw, string s ) : void
bw System.IO.BinaryWriter The stream to which to write the string.
s string The string to write.
Résultat void

Property Details

Name public_oe property

Gets the name of the record.
public string Name
Résultat string