Show / Hide Table of Contents

Class EnemyBasics

Static definitions for enemies and their animations. Remaining data is read from MONSTER.BSA.

Inheritance
Object
EnemyBasics
Namespace: DaggerfallWorkshop.Utility
Assembly: Assembly-CSharp.dll
Syntax
public static class EnemyBasics

Fields

| Improve this Doc View Source

Enemies

Declaration
public static MobileEnemy[] Enemies
Field Value
Type Description
MobileEnemy[]
| Improve this Doc View Source

FemaleThiefIdleAnims

Declaration
public static MobileAnimation[] FemaleThiefIdleAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

FlyAnimSpeed

Declaration
public static int FlyAnimSpeed
Field Value
Type Description
Int32
| Improve this Doc View Source

GhostWraithAttackAnims

Declaration
public static MobileAnimation[] GhostWraithAttackAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

GhostWraithMoveAnims

Declaration
public static MobileAnimation[] GhostWraithMoveAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

HurtAnims

Declaration
public static MobileAnimation[] HurtAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

HurtAnimSpeed

Declaration
public static int HurtAnimSpeed
Field Value
Type Description
Int32
| Improve this Doc View Source

IdleAnims

Declaration
public static MobileAnimation[] IdleAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

IdleAnimSpeed

Declaration
public static int IdleAnimSpeed
Field Value
Type Description
Int32
| Improve this Doc View Source

MoveAnims

Declaration
public static MobileAnimation[] MoveAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

MoveAnimSpeed

Declaration
public static int MoveAnimSpeed
Field Value
Type Description
Int32
| Improve this Doc View Source

PrimaryAttackAnims

Declaration
public static MobileAnimation[] PrimaryAttackAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

PrimaryAttackAnimSpeed

Declaration
public static int PrimaryAttackAnimSpeed
Field Value
Type Description
Int32
| Improve this Doc View Source

RangedAttack1Anims

Declaration
public static MobileAnimation[] RangedAttack1Anims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

RangedAttack1AnimSpeed

Declaration
public static int RangedAttack1AnimSpeed
Field Value
Type Description
Int32
| Improve this Doc View Source

RangedAttack2Anims

Declaration
public static MobileAnimation[] RangedAttack2Anims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

RangedAttack2AnimSpeed

Declaration
public static int RangedAttack2AnimSpeed
Field Value
Type Description
Int32
| Improve this Doc View Source

RatIdleAnims

Declaration
public static MobileAnimation[] RatIdleAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

SeducerAttackAnims

Declaration
public static MobileAnimation[] SeducerAttackAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

SeducerIdleMoveAnims

Declaration
public static MobileAnimation[] SeducerIdleMoveAnims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

SeducerTransform1Anims

Declaration
public static MobileAnimation[] SeducerTransform1Anims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

SeducerTransform2Anims

Declaration
public static MobileAnimation[] SeducerTransform2Anims
Field Value
Type Description
MobileAnimation[]
| Improve this Doc View Source

SlaughterfishMoveAnims

Declaration
public static MobileAnimation[] SlaughterfishMoveAnims
Field Value
Type Description
MobileAnimation[]

Methods

| Improve this Doc View Source

BuildEnemyDict()

Build a dictionary of enemies keyed by ID. Use this once and store for faster enemy lookups.

Declaration
public static Dictionary<int, MobileEnemy> BuildEnemyDict()
Returns
Type Description
Dictionary<Int32, MobileEnemy>

Resulting dictionary of mobile enemies.

| Improve this Doc View Source

CorpseTexture(Int32, Int32)

Declaration
public static int CorpseTexture(int archive, int record)
Parameters
Type Name Description
Int32 archive
Int32 record
Returns
Type Description
Int32
| Improve this Doc View Source

GetEnemy(MobileTypes, out MobileEnemy)

Gets enemy definition based on type. Runs a brute force search for ID, so use sparingly. Store a dictionary from GetEnemyDict() for faster lookups.

Declaration
public static bool GetEnemy(MobileTypes enemyType, out MobileEnemy mobileEnemyOut)
Parameters
Type Name Description
MobileTypes enemyType

Enemy type to extract definition.

MobileEnemy mobileEnemyOut

Receives details of enemy type.

Returns
Type Description
Boolean

True if successful.

| Improve this Doc View Source

GetEnemy(String, out MobileEnemy)

Gets enemy definition based on name. Runs a brute force search for ID, so use sparingly.

Declaration
public static bool GetEnemy(string name, out MobileEnemy mobileEnemyOut)
Parameters
Type Name Description
String name

Enemy name to extract definition.

MobileEnemy mobileEnemyOut

Receives details of enemy type if found.

Returns
Type Description
Boolean

True if successful.

| Improve this Doc View Source

ReverseCorpseTexture(Int32, out Int32, out Int32)

Declaration
public static void ReverseCorpseTexture(int corpseTexture, out int archive, out int record)
Parameters
Type Name Description
Int32 corpseTexture
Int32 archive
Int32 record
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX