C# 클래스 Nexus.Client.Games.Gamebryo.Tools.TESsnip.SubRecord

Encapsulates insteracting with sub-records.
상속: BaseRecord
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
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.

GetData ( ) : byte[]

Gets the sub-record's data.

GetDesc ( ) : string

Gets the sub-record's description.

GetHexData ( ) : string

Gets the sub-record's data as a hex number.

GetStrData ( ) : string

Gets the sub-record's data as a string.

SetData ( byte data ) : void

Sets the sub-record's data.

SetStrData ( string s, bool nullTerminate ) : void

Sets the sub-record's data tot he given string.

SubRecord ( ) : System

The default constructor.

비공개 메소드들

메소드 설명
GetFormattedData ( SubrecordStructure ss, dFormIDLookupI formIDLookup ) : string
GetIDs ( bool lower ) : List

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

GetReadonlyData ( ) : byte[]
SaveData ( BinaryWriter bw ) : void
SubRecord ( SubRecord sr ) : System

The copy constructor.

SubRecord ( string name, BinaryReader br, uint size ) : System

A simple constructor that initializes the object with ther given values.

메소드 상세

AddRecord() 공개 메소드

Adds the given sub-record to the record.
public AddRecord ( BaseRecord br ) : void
br BaseRecord The record to add.
리턴 void

Clone() 공개 메소드

Clones the record.
public Clone ( ) : BaseRecord
리턴 BaseRecord

DeleteRecord() 공개 메소드

Deletes the specified sub-record from the record.
public DeleteRecord ( BaseRecord br ) : void
br BaseRecord The record to delete.
리턴 void

GetData() 공개 메소드

Gets the sub-record's data.
public GetData ( ) : byte[]
리턴 byte[]

GetDesc() 공개 메소드

Gets the sub-record's description.
public GetDesc ( ) : string
리턴 string

GetHexData() 공개 메소드

Gets the sub-record's data as a hex number.
public GetHexData ( ) : string
리턴 string

GetStrData() 공개 메소드

Gets the sub-record's data as a string.
public GetStrData ( ) : string
리턴 string

SetData() 공개 메소드

Sets the sub-record's data.
public SetData ( byte data ) : void
data byte The new data.
리턴 void

SetStrData() 공개 메소드

Sets the sub-record's data tot he given string.
public SetStrData ( string s, bool nullTerminate ) : void
s string The string to which to set the sub-record's data.
nullTerminate bool Whether to nul-terminate the given string.
리턴 void

SubRecord() 공개 메소드

The default constructor.
public SubRecord ( ) : System
리턴 System