Show / Hide Table of Contents

Class RaceTemplate

Every race is defined by a common template.

Inheritance
Object
RaceTemplate
Argonian
Breton
DarkElf
HighElf
Khajiit
Nord
Redguard
WoodElf
Namespace: DaggerfallWorkshop.Game.Entity
Assembly: Assembly-CSharp.dll
Syntax
public class RaceTemplate

Fields

| Improve this Doc View Source

ClipID

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

CriticalWeaknessFlags

Declaration
public DFCareer.EffectFlags CriticalWeaknessFlags
Field Value
Type Description
DFCareer.EffectFlags
| Improve this Doc View Source

DescriptionID

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

ID

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

ImmunityFlags

Declaration
public DFCareer.EffectFlags ImmunityFlags
Field Value
Type Description
DFCareer.EffectFlags
| Improve this Doc View Source

LowToleranceFlags

Declaration
public DFCareer.EffectFlags LowToleranceFlags
Field Value
Type Description
DFCareer.EffectFlags
| Improve this Doc View Source

Name

Declaration
public string Name
Field Value
Type Description
String
| Improve this Doc View Source

PaperDollBackground

Declaration
public string PaperDollBackground
Field Value
Type Description
String
| Improve this Doc View Source

PaperDollBodyFemaleClothed

Declaration
public string PaperDollBodyFemaleClothed
Field Value
Type Description
String
| Improve this Doc View Source

PaperDollBodyFemaleUnclothed

Declaration
public string PaperDollBodyFemaleUnclothed
Field Value
Type Description
String
| Improve this Doc View Source

PaperDollBodyMaleClothed

Declaration
public string PaperDollBodyMaleClothed
Field Value
Type Description
String
| Improve this Doc View Source

PaperDollBodyMaleUnclothed

Declaration
public string PaperDollBodyMaleUnclothed
Field Value
Type Description
String
| Improve this Doc View Source

PaperDollHeadsFemale

Declaration
public string PaperDollHeadsFemale
Field Value
Type Description
String
| Improve this Doc View Source

PaperDollHeadsMale

Declaration
public string PaperDollHeadsMale
Field Value
Type Description
String
| Improve this Doc View Source

ResistanceFlags

Declaration
public DFCareer.EffectFlags ResistanceFlags
Field Value
Type Description
DFCareer.EffectFlags
| Improve this Doc View Source

SpecialAbilities

Declaration
public DFCareer.SpecialAbilityFlags SpecialAbilities
Field Value
Type Description
DFCareer.SpecialAbilityFlags

Methods

| Improve this Doc View Source

Clone()

Clones this race template.

Declaration
public RaceTemplate Clone()
Returns
Type Description
RaceTemplate

Cloned RaceTemplate reference.

| Improve this Doc View Source

GetFactionRaceFromRace(Races)

Get the FACTION.TXT race ID corresponding to an entity race. Only default races are supported.

Declaration
public static FactionFile.FactionRaces GetFactionRaceFromRace(Races race)
Parameters
Type Name Description
Races race

The entity race

Returns
Type Description
FactionFile.FactionRaces

The corresponding faction race.

| Improve this Doc View Source

GetRaceDictionary()

Populates a race dictionary with standard RaceTemplate definitions. This is only temporary until loading race definitions from file is implemented.

Declaration
public static Dictionary<int, RaceTemplate> GetRaceDictionary()
Returns
Type Description
Dictionary<Int32, RaceTemplate>
| Improve this Doc View Source

GetRaceFromFactionRace(FactionFile.FactionRaces)

Get the entity race corresponding to that read from FACTION.TXT. Only default races are supported.

Declaration
public static Races GetRaceFromFactionRace(FactionFile.FactionRaces factionRace)
Parameters
Type Name Description
FactionFile.FactionRaces factionRace

The faction race

Returns
Type Description
Races

The corresponding entity race.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX