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

Encapsulates working with a plugin record that represents a TES form.
Inheritance: Rec
Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Properties

Property Type Description
Flags1 uint
Flags2 uint
Flags3 uint
FormID uint
SubRecords List

Public Methods

Method 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 record's description.

Record ( ) : System

The default constructor.

Private Methods

Method Description
GetBaseDesc ( ) : string
GetDesc ( SubrecordStructure sss, dFormIDLookupI formIDLookup ) : string
GetExtendedDesc ( SubrecordStructure sss, dFormIDLookupI formIDLookup ) : string
GetIDs ( bool lower ) : List

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

Record ( Record r ) : System

The copy constructor.

Record ( string name, BinaryReader br ) : System

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

Record ( string name, uint Size, BinaryReader br, bool Oblivion ) : System

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

SaveData ( BinaryWriter bw ) : void

Method Details

AddRecord() public method

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

Clone() public method

Clones the record.
public Clone ( ) : BaseRecord
return BaseRecord

DeleteRecord() public method

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

GetDesc() public method

Gets the record's description.
public GetDesc ( ) : string
return string

Record() public method

The default constructor.
public Record ( ) : System
return System

Property Details

Flags1 public property

The flags of the record.
public uint Flags1
return uint

Flags2 public property

The flags of the record.
public uint Flags2
return uint

Flags3 public property

The flags of the record.
public uint Flags3
return uint

FormID public property

The from id of the record.
public uint FormID
return uint

SubRecords public property

The record's sub-records.
public List SubRecords
return List