Show / Hide Table of Contents

Class DaggerfallStats

Daggerfall stats collection for every entity.

Inheritance
Object
DaggerfallStats
Implements
IMacroContextProvider
Namespace: DaggerfallWorkshop.Game.Entity
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public class DaggerfallStats : IMacroContextProvider

Constructors

| Improve this Doc View Source

DaggerfallStats()

Declaration
public DaggerfallStats()

Fields

| Improve this Doc View Source

Count

Declaration
public const int Count = 8
Field Value
Type Description
Int32

Properties

| Improve this Doc View Source

LiveAgility

Declaration
public int LiveAgility { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

LiveEndurance

Declaration
public int LiveEndurance { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

LiveIntelligence

Declaration
public int LiveIntelligence { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

LiveLuck

Declaration
public int LiveLuck { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

LivePersonality

Declaration
public int LivePersonality { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

LiveSpeed

Declaration
public int LiveSpeed { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

LiveStrength

Declaration
public int LiveStrength { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

LiveWillpower

Declaration
public int LiveWillpower { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentAgility

Declaration
public int PermanentAgility { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentEndurance

Declaration
public int PermanentEndurance { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentIntelligence

Declaration
public int PermanentIntelligence { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentLuck

Declaration
public int PermanentLuck { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentPersonality

Declaration
public int PermanentPersonality { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentSpeed

Declaration
public int PermanentSpeed { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentStrength

Declaration
public int PermanentStrength { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

PermanentWillpower

Declaration
public int PermanentWillpower { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

AssignMods(Int32[], Int32[])

Assign mods from effect manager.

Declaration
public void AssignMods(int[] statMods, int[] statMaxMods)
Parameters
Type Name Description
Int32[] statMods
Int32[] statMaxMods
| Improve this Doc View Source

Clone()

Create a new copy of this stat collection. Does not copy active effect mods.

Declaration
public DaggerfallStats Clone()
Returns
Type Description
DaggerfallStats

New DaggerfallStats which is a copy of this DaggerfallStats.

| Improve this Doc View Source

Copy(DaggerfallStats)

Copy contents of another DaggerfallStats into this one. Does not copy active effect mods.

Declaration
public void Copy(DaggerfallStats other)
Parameters
Type Name Description
DaggerfallStats other

Stats collection to copy from.

| Improve this Doc View Source

GetLiveStatValue(DFCareer.Stats)

Gets live stat value by enum, including effect mods.

Declaration
public int GetLiveStatValue(DFCareer.Stats stat)
Parameters
Type Name Description
DFCareer.Stats stat

Stat to get.

Returns
Type Description
Int32

Stat value.

| Improve this Doc View Source

GetLiveStatValue(Int32)

Gets live stat value by index, including effect mods.

Declaration
public int GetLiveStatValue(int index)
Parameters
Type Name Description
Int32 index

Index of stat.

Returns
Type Description
Int32

Stat value.

| Improve this Doc View Source

GetMacroDataSource()

Declaration
public MacroDataSource GetMacroDataSource()
Returns
Type Description
MacroDataSource
| Improve this Doc View Source

GetPermanentStatValue(DFCareer.Stats)

Gets permanent stat value by enum, does not include effect mods.

Declaration
public int GetPermanentStatValue(DFCareer.Stats stat)
Parameters
Type Name Description
DFCareer.Stats stat

Stat to get.

Returns
Type Description
Int32

Stat value.

| Improve this Doc View Source

GetPermanentStatValue(Int32)

Gets permanent stat value by index, does not include effect mods.

Declaration
public int GetPermanentStatValue(int index)
Parameters
Type Name Description
Int32 index

Index of stat.

Returns
Type Description
Int32

Stat value.

| Improve this Doc View Source

IsAllMax()

Check if all permanent stat values are at max.

Declaration
public bool IsAllMax()
Returns
Type Description
Boolean

True if all at max.

| Improve this Doc View Source

SetDefaults()

Set default value to each stat.

Declaration
public void SetDefaults()
| Improve this Doc View Source

SetPermanentFromCareer(DFCareer)

Set permanent stat values from career, does not change effect mods.

Declaration
public void SetPermanentFromCareer(DFCareer career)
Parameters
Type Name Description
DFCareer career

Career to set stats from.

| Improve this Doc View Source

SetPermanentStatValue(DFCareer.Stats, Int32)

Sets permanent stat value by enum, does not change effect mods.

Declaration
public void SetPermanentStatValue(DFCareer.Stats stat, int value)
Parameters
Type Name Description
DFCareer.Stats stat

Stat to set.

Int32 value

Stat value.

| Improve this Doc View Source

SetPermanentStatValue(Int32, Int32)

Sets permanent stat value by index, does not change effect mods.

Declaration
public void SetPermanentStatValue(int index, int value)
Parameters
Type Name Description
Int32 index

Index of stat.

Int32 value

Stat value.

Implements

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