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

Encapsulates interacting with a record that is a group of other records.
Inheritance: Rec
Mostrar archivo Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Properties

Property Type Description
Records List
dateStamp uint
flags uint
groupType uint

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.

GetData ( ) : byte[]

Gets the record's data.

GetDesc ( ) : string

Gets the description of the record.

GroupRecord ( string data ) : System

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

SetData ( byte data ) : void

Sets the record's data.

Private Methods

Method Description
GetIDs ( bool lower ) : List

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

GetReadonlyData ( ) : byte[]
GetSubDesc ( ) : string
GroupRecord ( GroupRecord gr ) : System

The copy constructor.

GroupRecord ( 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

GetData() public method

Gets the record's data.
public GetData ( ) : byte[]
return byte[]

GetDesc() public method

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

GroupRecord() public method

A simple constructor that initializes the object with the given data.
public GroupRecord ( string data ) : System
data string The group record data.
return System

SetData() public method

Sets the record's data.
public SetData ( byte data ) : void
data byte The new record data.
return void

Property Details

Records public_oe property

The records in the group.
public List Records
return List

dateStamp public_oe property

The modified time of the group.
public uint dateStamp
return uint

flags public_oe property

The group flags.
public uint flags
return uint

groupType public_oe property

The type of the group.
public uint groupType
return uint