Romestead Assembly Reference

Shared.Models.Stats.EntityStats

Type JSON

public struct in Shared.Models.Stats

Methods20
Properties0
Fields2
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Models.Stats
  • Base typeSystem.ValueType
  • HashD8145DE6D1351DCB9EF71351A37A91A61B75B9A9A02A2D08B5D3DA37E0280D68

Relationships

Fields

NameVisibilitySignature
Statspublicpublic System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> Stats
_baseValuesprivateprivate System.Collections.Generic.Dictionary<System.String, System.Single> _baseValues

Methods

AddAuraStats

public System.Void AddAuraStats(System.Guid auraInstanceId, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData> stats, System.Int32 stackAmount, System.Boolean isBlessingAura)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash9484430F611299137CA1DC594D8EAB8A201B2AF895E2F2BBD590244B8EA395C8
  • Body hashBC8453ADAC944F4095B99615EBAF90AA04B1ADAC843DF955EDF71EA352E3357F
  • IL size23
Referenced calls
Called by

AddEquipmentStats

public System.Void AddEquipmentStats(System.Guid itemInstanceId, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData> stats)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashBE4D893D3943CDECEE476E6741722F5A52E6654390357189873C1D2F1CAD3AED
  • Body hashE672D8E2F7B8F6490307097EFB20B7C7CD92D329133AA96E1409A6ADA76C537C
  • IL size16
Referenced calls
Called by

ApplyArmorReduction

private System.Void ApplyArmorReduction(System.String armorStatId, Shared.Combat.DamageTypesArray damage, Shared.Combat.DamageTypesArray resists, System.Single armorPiercing, System.Int32 damageTypeStart, System.Int32 damageTypeEnd)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashB52764621EE812E56AB8B7552BB2FFA6FEE3B3B2509851390A32B12C94629FC9
  • Body hash2605B127BD9FFAA6EBF3C0D67F67914B79BC358BFD44C2673F67BC13FAEF8A0E
  • IL size156
Referenced calls
Called by

CalculateDamageBonuses

private System.Void CalculateDamageBonuses(Shared.Combat.DamageTypesArray damage, System.String statId, System.String modifierId, System.Single attackTypeBonusScale)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash2811ACFB409727C76DA716F2ED020DDB9166F0EA68E1ABB1A0B5F3AB3AFD8850
  • Body hash08838846F71D9C2A61509DA3D3A3F9A1AC1F32A7E4BD7295536D15A035B42F49
  • IL size387
Referenced calls
  • Shared.Combat.DamageTypesArray::get_Item(System.Int32)
  • System.String::IsNullOrEmpty(System.String)
  • Shared.Models.Stats.EntityStats::Get(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • Shared.Models.Stats.CandideStatsException::.ctor(System.String)
Called by
String literals
  • TrueDamageModifier
  • SlashingDamageModifier
  • PiercingDamageModifier
  • BludgeoningDamageModifier
  • PyroDamageModifier
  • ChloroDamageModifier
  • AquaDamageModifier
  • CosmoDamageModifier
  • NecroDamageModifier
  • Unknown damage type

CalculateGetCalculatedRangedDamageTypesArray

public System.Void CalculateGetCalculatedRangedDamageTypesArray(Shared.Combat.DamageTypesArray weaponDamage, System.Single attackTypeBonusScale)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash45ED023497AAC0EE07ABF8CC8D7E069CCAEBE4F95809B5E03A322C1824E584DD
  • Body hashE04EB6566C97EBB445F69416AFEC38DBB8F909C4D96ECDF81A353347B36C7204
  • IL size19
Referenced calls
Called by
String literals
  • RangedDamage
  • RangedDamageModifier

CalculateMagicDamageTypesArray

public System.Void CalculateMagicDamageTypesArray(Shared.Combat.DamageTypesArray weaponDamage, System.Single attackTypeBonusScale)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash451DC3EB4AD3CADC871DC176BAD788B6C8B4EC896F45741EFAD94B83013D2D96
  • Body hash58E54E8CDE955988EC0B94C1F222E7E1031B59252DED325A6DE7ECC8A7333557
  • IL size19
Referenced calls
Called by
String literals
  • MagicDamage
  • MagicDamageModifier

CalculateMeleeDamageTypesArray

public System.Void CalculateMeleeDamageTypesArray(Shared.Combat.DamageTypesArray weaponDamage, System.Single attackTypeBonusScale)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash59FCAF1B76CE12A4DD03F63CEA8484420CA8E6E134B349459BA7739018A06002
  • Body hashDDD53941DAA66476A3A0FE1766176154D4960BC53CC347AC0D8228FBB205B2C4
  • IL size19
Referenced calls
Called by
String literals
  • MeleeDamage
  • MeleeDamageModifier

CalculateShieldDamageTypesArray

public System.Void CalculateShieldDamageTypesArray(Shared.Combat.DamageTypesArray weaponDamage, System.Single attackTypeBonusScale)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash06DB6D0BF017F6B6A934082AB892DEF24C330C4FF54C9618C5264FA38B3B4E24
  • Body hash222180B132F82D88008AAB9AA14B29D4E8AC881A121D04198FFF426756003735
  • IL size19
Referenced calls
Called by
String literals
  • Armor

CalculateThrowingDamageTypesArray

public System.Void CalculateThrowingDamageTypesArray(Shared.Combat.DamageTypesArray weaponDamage, System.Single attackTypeBonusScale)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashBAD0C2376693EEACBF27381D089AD8423D2C5FDA06FC164C01D0A98F36331926
  • Body hashE84A1EC3BC2DAD03218BE10FA1724DAD37B7450776469580279E1F95FC439668
  • IL size19
Referenced calls
Called by
String literals
  • ThrowingDamage
  • ThrowingDamageModifier

DoResistCalculations_Destructive

public System.Void DoResistCalculations_Destructive(Shared.Combat.DamageTypesArray damage, Shared.Combat.DamageTypesArray resists, System.Single armorPiercing)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashC8D2832E9B7E7DC1CD473E6AD0B8EAD9B9315E4ECFFE0BBEEB4C3B3FB39CEA01
  • Body hash9041D848B0B660F3A51655E8E3FBB058D427DEF962A205000E773DF604AB80DC
  • IL size471
Referenced calls
Called by
String literals
  • Armor
  • MagicResistance
  • TrueResistance
  • SlashingResistance
  • PiercingResistance
  • BludgeoningResistance
  • PyroResistance
  • ChloroResistance
  • AquaResistance
  • CosmoResistance
  • NecroResistance

Get

public System.Single Get(System.String statId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticFalse
  • VirtualFalse
  • HashE3B1D0A8000D35A9DE2D3C21C91A3380E7BE79C18ACF9A7724194DBB515C7E5B
  • Body hashFFBD0B2F14945B4BF937FD9D4263062D7520B72F02E0D6D9B27D46BB0255C15A
  • IL size13
Referenced calls
Called by

GetCalculatedDamageTypesArray

public System.Void GetCalculatedDamageTypesArray(Shared.Combat.DamageTypesArray weaponDamage, Shared.Combat.AttackType attackType, System.Single attackTypeBonusScale)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash6A7A8D5FB1ED2EBF8C5FFCD6BB232E13D3EC8E21FDAC299990C0014930F45C91
  • Body hash316364B50DCC104A837831A86BD6679B4D19F7F7C144829C7B71A1546DFDD829
  • IL size151
Referenced calls
Called by
String literals
  • Undefined attack type

GetCalculatedWeaponAttackRange

public System.Single GetCalculatedWeaponAttackRange(System.Single weaponRange)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticFalse
  • VirtualFalse
  • HashB97339E81D8B44B2AEFC21A36AA8828F930C11A6B8911D859BCAF568EB227862
  • Body hash3ED02842463483023176AFC6936E50B9A25C58E71D5EDFA8A78E595811504E08
  • IL size14
Referenced calls
Called by
String literals
  • AttackRangeModifier

GetCalculatedWeaponCooldownTimer

public System.Single GetCalculatedWeaponCooldownTimer(System.Single swingTimer)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticFalse
  • VirtualFalse
  • HashEF7918894974C917A4BCD8E0D2D7400A2BBC86B0651EA9274453A4FC713948DB
  • Body hashE2A2DBED62C8C00B9DAE4AE31F9E112BD0A0475B8EEA571900669FEFA44AB91C
  • IL size40
Referenced calls
Called by
String literals
  • AttackSpeed
  • Attack speed was 0

GetTotalResistance

public System.Void GetTotalResistance(Shared.Combat.DamageTypesArray damageSource, Shared.Combat.DamageTypesArray& resists)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashA78D2AD6E3450C6D6E9053510D3DD2E2C7C530349E8627F4766E26128BCFE223
  • Body hashEB95D1242B9148F918625740FF8898DC1919E5C107C43AE9EBCAC64DDEB6EDC2
  • IL size374
Referenced calls
Called by
String literals
  • TrueResistance
  • SlashingResistance
  • PiercingResistance
  • BludgeoningResistance
  • PyroResistance
  • ChloroResistance
  • AquaResistance
  • CosmoResistance
  • NecroResistance
  • Armor
  • MagicResistance

OnLoad

public System.Void OnLoad()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashF158BFEFA064ED025A3E9009075D3585B6C9F9CC6363BA537B56257D01827EBC
  • Body hashBE9812FE0C5B3C3A35A5BE8B66C90A7A4AC437949678B183F7DDDB0DFA8B4767
  • IL size13
Referenced calls
Called by

ResetModifiers

public System.Void ResetModifiers()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashA6F0D137E1AC939D1609B2658967EBB3CD70400E6160EEF88E9C48DF5EB4F2C9
  • Body hashB9E8E2534663AD097827E502BD57B97DC58943E2C831BC883AFD52CFDE20ED1D
  • IL size12
Referenced calls
Called by

SetBaseStat

public System.Void SetBaseStat(System.String key, System.Single value)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash91555E9F786CF9A58F9537E8A5A3275C99BF3BA83AC347F3DD4A0959410E8578
  • Body hash31FACF605FA32B1FE1FBA00D740A2ADFF4FE615DFE3447489679FE52BC078DC5
  • IL size56
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Single>::set_Item(!0, !1)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)
  • Shared.Models.Stats.Stat::SetBaseValue(System.Single)
  • Shared.Models.Stats.Stat::.ctor(System.String)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::Add(!0, !1)

SetBaseStats

public System.Void SetBaseStats(System.Collections.Generic.Dictionary<System.String, System.Single> stats)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash074C7724193643C449C04F0041E39A0149981BDA6A4372D04A4FB98F6E418378
  • Body hash68011B62DCDF628C30EA971303FC45D72FEF3AEE1A0057177017C73227A6DE4C
  • IL size57
Referenced calls
Called by

TryGet

public System.Boolean TryGet(System.String statId, out System.Single& statValue)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash957CA04F5F5628297C4E2055CB80E85561198F047EBFDDCDF46BFFD94BECC50B
  • Body hashAEB3D0104FF41BAE7ED4E164696FF1ACD17EDC9F5748920CBF3E5DEF02F24E95
  • IL size14
Referenced calls
Called by