Struct DFBlock.RdbFlatResource
A flat (billboard) resource has this structure.
Namespace: DaggerfallConnect
Assembly: Assembly-CSharp.dll
Syntax
public struct RdbFlatResource
Fields
| Improve this Doc View SourceAction
Action flag.
Declaration
public byte Action
Field Value
Type | Description |
---|---|
Byte |
FactionOrMobileId
FactionID/MobileID bitfield. (ID & 0xFF
for mobile ID).
Range 0-42 is index to monster in MONSTER.BSA.
Range 128-146 is index to humanoid mobile type.
Declaration
public ushort FactionOrMobileId
Field Value
Type | Description |
---|---|
UInt16 |
Flags
Flags for action, NPC, etc.
Declaration
public ushort Flags
Field Value
Type | Description |
---|---|
UInt16 |
IsCustomData
True if the data is custom data placed by a DFU tool. False if the data comes from arena2
Declaration
public bool IsCustomData
Field Value
Type | Description |
---|---|
Boolean |
Magnitude
Damage, distance to move etc.
Declaration
public byte Magnitude
Field Value
Type | Description |
---|---|
Byte |
NextObjectOffset
Next object in action chain.
Declaration
public int NextObjectOffset
Field Value
Type | Description |
---|---|
Int32 |
Position
Position in stream to find this data.
Declaration
public long Position
Field Value
Type | Description |
---|---|
Int64 |
SoundIndex
Sound index, also used for spell and text index.
Declaration
public byte SoundIndex
Field Value
Type | Description |
---|---|
Byte |
TextureArchive
Texture archive from bitfield. Used to determine which texture file to load (e.g. TEXTURE.210).
Declaration
public int TextureArchive
Field Value
Type | Description |
---|---|
Int32 |
TextureRecord
Texture record from bitfield. Used to determine which texture record to load from archive.
Declaration
public int TextureRecord
Field Value
Type | Description |
---|---|
Int32 |