Shared.Models.Stats.StatsBaseMethods
Type JSONpublic class in Shared.Models.Stats
Type metadata
- Assembly
Shared - Namespace
Shared.Models.Stats - Base type
System.Object - Hash
0D134658F4B794C231182B561F30182BCFE3EFB80A05A8934F6AD3AF56D7874E
Relationships
Base type
System.Object
Methods
AddModifier
#
public System.Void AddModifier(System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> targetStats, System.Guid modifierId, System.String statId, Shared.Models.Stats.StatModifier modifier)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
F7EB6062A8FB5506A176B4599D0E5DBBCC1DAC2AA06BF9BA875D0D7C529372E4 - Body hash
9FAA2A56BE408058FB9D10A9D580B8AA77DB67CD9C75BE52FF6D56833E3B03E2 - IL size35
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)Shared.Models.Stats.Stat::.ctor(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::set_Item(!0, !1)Shared.Models.Stats.Stat::SetStatModifier(System.Guid, Shared.Models.Stats.StatModifier)
AddStatModifiers
#
internal System.Void AddStatModifiers(System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> calculatedStats, System.Guid modifierId, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData> stats, System.Int32 stackAmount, Shared.Models.Stats.StatModifierType type)
Method metadata
- Visibilityinternal
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3D0A61AD3855070977B7EC5A7D78B184618E65099E9DA8F3CDB4184DAD8D3868 - Body hash
3FBB3F3223D7D4DBB075FCB7EC887A9ABC87E5DAEFDA1AE18195767A4293B0CC - IL size133
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>::GetEnumerator()Dictionary.Enumerator<System.String, Shared.Models.Stats.StatModificationData>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.StatModificationData>::get_Key()System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)Shared.Models.Stats.Stat::.ctor(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::set_Item(!0, !1)System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.StatModificationData>::get_Value()Shared.Models.Stats.StatModificationData::op_Multiply(Shared.Models.Stats.StatModificationData, System.Single)Shared.Models.Stats.Stat::SetStatModifier(System.Guid, Shared.Models.Stats.StatModifier)Dictionary.Enumerator<System.String, Shared.Models.Stats.StatModificationData>::MoveNext()System.IDisposable::Dispose()
CopyModifiers
#
public System.Void CopyModifiers(System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> targetStats, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> secondStats)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
9C29FF0511D73B1E7FE160C4E08F3BDE829A1DAC5D0CDDCE204D35ABF81EE66A - Body hash
DCA8A61FF208D186A4976BC6E63CC96AE0FF0FA21063F92B2A0A5C3639982E72 - IL size105
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::GetEnumerator()Dictionary.Enumerator<System.String, Shared.Models.Stats.Stat>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.Stat>::get_Key()System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)Shared.Models.Stats.Stat::.ctor(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::set_Item(!0, !1)System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.Stat>::get_Value()Shared.Models.Stats.Stat::SetStatModifiers(System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Stats.StatModifier>)Dictionary.Enumerator<System.String, Shared.Models.Stats.Stat>::MoveNext()System.IDisposable::Dispose()
Get
#
internal System.Single Get(System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> calculatedStats, System.String statId)
Method metadata
- Visibilityinternal
- Return type
System.Single - StaticTrue
- VirtualFalse
- Hash
9B556176A019C2DABC1B0E229EF7A06492642CDE628774B2E884A6F7AF5ED025 - Body hash
818E54AABDC2881FB87AB15044800D0700F5C63A295CD900575F66A69BC83544 - IL size33
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)Shared.Models.Stats.Stat::.ctor(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::set_Item(!0, !1)
ResetModifiers
#
internal System.Void ResetModifiers(System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> calculatedStats)
Method metadata
- Visibilityinternal
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1A6BB9A242C08A204CDEADEFB6AFD567918D01985345EC7B148A35A927DA1EB7 - Body hash
EA4C1E134F8EDE7EACDFB9AD571D9926FB65339C5E2714390CC311F4C2278AB7 - IL size55
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::GetEnumerator()Dictionary.Enumerator<System.String, Shared.Models.Stats.Stat>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.Stat>::get_Value()Shared.Models.Stats.Stat::Reset()Dictionary.Enumerator<System.String, Shared.Models.Stats.Stat>::MoveNext()System.IDisposable::Dispose()
SetBaseStats
#
internal System.Void SetBaseStats(System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> calculatedStats, System.Collections.Generic.Dictionary<System.String, System.Single> baseValueStats, System.Collections.Generic.Dictionary<System.String, System.Single> stats)
Method metadata
- Visibilityinternal
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
57171CFAADF51DA852E5916A6C303246B0712065655D1D0037A418E65FD8DCEE - Body hash
DC7DD42ECFA367CE07E05446803E4996E87178740DAFD837CA5CAC7EFF1C05F7 - IL size120
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Single>::GetEnumerator()Dictionary.Enumerator<System.String, System.Single>::get_Current()System.Collections.Generic.KeyValuePair<System.String, System.Single>::get_Key()System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)Shared.Models.Stats.Stat::.ctor(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::set_Item(!0, !1)System.Collections.Generic.KeyValuePair<System.String, System.Single>::get_Value()Shared.Models.Stats.Stat::SetBaseValue(System.Single)System.Collections.Generic.Dictionary<System.String, System.Single>::set_Item(!0, !1)Dictionary.Enumerator<System.String, System.Single>::MoveNext()System.IDisposable::Dispose()
TryGet
#
public System.Boolean TryGet(System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> calculatedStats, System.String statId, out System.Single& statValue)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
6AF23D2E3030837D5534555B688D9C5D2E2D7E7BA64DB0A143D955D6B92ABE71 - Body hash
4C8AD0A4883C226990A5E7DA89E473E10C46E1A25360EE6BC7D6DA2C9A10AC87 - IL size30
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)