C# Класс Nexus.Client.Games.Gamebryo.Tools.TESsnip.BaseRecord

The base record type found in TES plugins.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Name string

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
GetIDs ( bool lower ) : List

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

SaveData ( BinaryWriter bw ) : void

Описание методов

AddRecord() публичный абстрактный Метод

Adds the given sub-record to the record.
public abstract AddRecord ( BaseRecord br ) : void
br BaseRecord The record to add.
Результат void

Clone() публичный абстрактный Метод

Clones the record.
public abstract Clone ( ) : BaseRecord
Результат BaseRecord

CloseDecompressor() защищенный статический Метод

Closes teh decompressor.
protected static CloseDecompressor ( ) : void
Результат void

Decompress() защищенный статический Метод

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.
Результат System.IO.BinaryReader

DeleteRecord() публичный абстрактный Метод

Deletes the specified sub-record from the record.
public abstract DeleteRecord ( BaseRecord br ) : void
br BaseRecord The record to delete.
Результат void

GetDesc() публичный абстрактный Метод

Gets the description of the record.
public abstract GetDesc ( ) : string
Результат string

InitDecompressor() защищенный статический Метод

Initializes teh decompressor.
protected static InitDecompressor ( ) : void
Результат void

ReadRecName() защищенный статический Метод

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.
Результат string

WriteString() защищенный статический Метод

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.
Результат void

Описание свойств

Name публичное свойство

Gets the name of the record.
public string Name
Результат string