Candide.LegacyUI.OverheadHealthbar
Type JSONpublic struct in Candide.LegacyUI
Type metadata
- Assembly
Romestead - Namespace
Candide.LegacyUI - Base type
System.ValueType - Hash
8E28A8F28425958BE7FD307199C2217492327E3A60DE10A92FFD458078CE1AB0
Relationships
Base type
System.ValueType
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
CurrentEnergy# | public | public System.Single CurrentEnergy |
CurrentHealth# | public | public System.Single CurrentHealth |
CurrentMaxEnergy# | public | public System.Single CurrentMaxEnergy |
CurrentMaxHealth# | public | public System.Single CurrentMaxHealth |
IncomingDamage# | public | public System.Single IncomingDamage |
IncomingHeals# | public | public System.Single IncomingHeals |
Mode# | public | public System.Int32 Mode |
RecentDamage# | public | public System.Single RecentDamage |
RecentEnergyLoss# | public | public System.Single RecentEnergyLoss |
RecentHealing# | public | public System.Single RecentHealing |
UseDamageHistory# | public | public System.Boolean UseDamageHistory |
Visible# | public | public System.Boolean Visible |
_actualRecentDamage# | private | private System.Single _actualRecentDamage |
_actualRecentEnergyLoss# | private | private System.Single _actualRecentEnergyLoss |
_damageHistory# | private | private System.ValueTuple<System.Single, System.Single>[] _damageHistory |
_damageHistoryIndex# | private | private System.Int32 _damageHistoryIndex |
_energyHideTimer# | private | private System.Single _energyHideTimer |
_hideTimer# | private | private System.Single _hideTimer |
_recentDamageTimer# | private | private System.Single _recentDamageTimer |
_recentEnergyLossTimer# | private | private System.Single _recentEnergyLossTimer |
_recentHealingTimer# | private | private System.Single _recentHealingTimer |
Methods
ClearHistory
#
public System.Void ClearHistory()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
37776B15A1623F3449C17AC514B2C95C50F98705F00D102E331082A59412685A - Body hash
3E7F5123FDA970647C1B14BAD69598BF62E07BBFA1C2C12D6FD4DB4596352878 - IL size51
Damaged
#
public System.Void Damaged(System.Single damage)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2B241A0B9DA443BD1BE65F5A42AF33DF5E9C2BE2BEB84E8459302DD004538897 - Body hash
66B2565DB5259FDB1928616EA9FD9AF8FE067703E706D3095772F08B74DA3693 - IL size118
Referenced calls
System.ValueTuple<System.Single, System.Single>::.ctor(!0, !1)
Draw
#
public System.Void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch batch, Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
63DFFD651F7CC90122679014C2CC1FA2427E5E4399CB8C5806B8ECA967CF19C0 - Body hash
C4EA305EF0A94B08F5FF7161E85562795A75EF0F0ADED8378EF7BAFC94449E30 - IL size627
Referenced calls
Microsoft.Xna.Framework.Graphics.GraphicsResource::get_GraphicsDevice()Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Candide.Graphics.Camera::GetMatrix()Microsoft.Xna.Framework.Vector2::Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.LegacyUI.OverheadHealthbar::GetHealthbarWidth(System.Single)System.MathF::Ceiling(System.Single)Candide.LegacyUI.FillBarRenderer::DrawFillBar2(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, FillBarRenderer.HorizontalAlignment, System.Single, FillBarRenderer.StyleColor, FillBarRenderer.EndStyle, System.Single, FillBarRenderer.FillColor, System.Single, FillBarRenderer.FillColor, System.Single, FillBarRenderer.FillColor, System.Single, FillBarRenderer.FillColor, System.Single, FillBarRenderer.FillColor)Candide.LegacyUI.FillBarRenderer::DrawFillBar2(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, FillBarRenderer.HorizontalAlignment, System.Single, FillBarRenderer.StyleColor, FillBarRenderer.EndStyle, System.Single, FillBarRenderer.FillColor, System.Single, FillBarRenderer.FillColor, System.Single, FillBarRenderer.FillColor)Candide.LegacyUI.OverheadHealthbar::GetEnergybarWidth(System.Single)Microsoft.Xna.Framework.Color::.ctor(System.Int32, System.Int32, System.Int32)Candide.LegacyUI.FillBarRenderer::DrawFillBar2(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, FillBarRenderer.HorizontalAlignment, System.Single, FillBarRenderer.StyleColor, FillBarRenderer.EndStyle, System.Single, FillBarRenderer.FillColor, Microsoft.Xna.Framework.Color, System.Single, FillBarRenderer.FillColor)
EnergyGained
#
public System.Void EnergyGained(System.Single energyGained)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6978DFCBDC65AB21ED19E4B8E69A42E4BA7BF4A9EAE3A6949C022FDEAEF0AF31 - Body hash
3A40A64307E5EF99B26F81B17106F2705D94BE60D80D253E30EF0A91C4D1C18E - IL size38
Referenced calls
System.MathF::Max(System.Single, System.Single)
GetEnergybarWidth
#
public System.Int32 GetEnergybarWidth(System.Single maxEnergy)
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticTrue
- VirtualFalse
- Hash
1DC60F4A0EF48BC5D53EB44564D64DCFB1FB9DD1522B3F104C6A9258A5FAB003 - Body hash
4739EE18130141C8911274A845447F359C1CDD7A7F188871F0D5E3FB1E5B43D9 - IL size38
Referenced calls
CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::SineOut(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)
Called by
GetHealthbarWidth
#
public System.Int32 GetHealthbarWidth(System.Single maxHealth)
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticTrue
- VirtualFalse
- Hash
90F0120811CDAEEF310EA530E244E45F8163CBB406A53A9C2025627564D24EEC - Body hash
0BF35E3BBCAE3A7A9140C1E967AD8F9CED8653DF2866C0A5FA335A52A52BFBA0 - IL size38
Referenced calls
CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::SineOut(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)
Called by
Healed
#
public System.Void Healed(System.Single healing)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6B4382328470328DEA56936DC91055CFDEBB257037DD99200A5109A0AE056E95 - Body hash
D5FD770AA7D3A621E90BB3FDEAED76E20189E2A3A7A09680FC114688ABB5530C - IL size37
Hide
#
public System.Void Hide()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E7AE6D94BBC435F25F14B351716F100A2FCBBE9D8BADBCBD6AC15B4C634FCF36 - Body hash
40A9FFDD1EFCAFEF3BCB2116FC98C5BD051EB85AA428847A7F8C2F7B40E25C76 - IL size8
Reset
#
public System.Void Reset()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9E71ED62DC55459B983A8375CEF9437E1E00BD058869696FF0196129121B494F - Body hash
E433FE7F7A4D6DB2A63DC08317CE803B2EE7B4120EF34B3BA55568B177CC44FB - IL size69
Referenced calls
Show
#
public System.Void Show()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
0B4187BBAD0D7026FE5E8559C20C240391F9D36D5EB50303B022CCB6A3D39FE6 - Body hash
BF18CBB334E0B1EBD88CCA468A408DA40D465665029E01DE70772A2A1A889906 - IL size8
SpentEnergy
#
public System.Void SpentEnergy(System.Single energyLost)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BA5532F991B9E3F4CC886BC93C4F6AFE49252E44B9C9C59E668627E37930F7A4 - Body hash
C17A80A4F9BEDCC4FC712035239A458C213653DB13025C5F44B52B89E869BC70 - IL size37
Update
#
public System.Void Update(Shared.Entity.EntityWrapper entity, System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
45FA3014D5C83378ABB3016E5EB4F94383065B158DDF8994D9D6FBFF7AA840CC - Body hash
3418570CAFF74DFFDB9D6BC70BAFFBDF3489A687A35770DF3F7F74AC9DFFAA32 - IL size1020
Referenced calls
Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Health()Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::Get(System.String)Candide.LegacyUI.OverheadHealthbar::ClearHistory()CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadOut(System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::CubeIn(System.Single)Shared.Entity.EntityWrapper::get_Auras()System.Collections.Generic.List<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>>::GetEnumerator()List.Enumerator<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>>::get_Current()Candide.Entities.Auras.HealingOverTimeAura::get_Args()Candide.Entities.Auras.HealingOverTimeAura::get_State()System.MathF::Ceiling(System.Single)Candide.Entities.Auras.DamageOverTimeAura::get_Args()Candide.Entities.Auras.DamageOverTimeAura::get_State()Shared.Aura.State.DamageOverTimeAuraState::GetTickDamage(Shared.Entity.EntityWrapper, Shared.Aura.Args.DamageOverTimeAuraArgs)Shared.Combat.DamageTypesArray::GetTotalDamage()List.Enumerator<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>>::MoveNext()System.IDisposable::Dispose()CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Energy()Candide.LegacyUI.OverheadHealthbar::SpentEnergy(System.Single)Candide.LegacyUI.OverheadHealthbar::EnergyGained(System.Single)
String literals
HealthEnergy