|
terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Inheritance diagram for Terraria.GameContent.UI.ResourceSets.HorizontalBarsPlayerResourcesDisplaySet:
Collaboration diagram for Terraria.GameContent.UI.ResourceSets.HorizontalBarsPlayerResourcesDisplaySet:Public Member Functions | |
| HorizontalBarsPlayerResourcesDisplaySet (string nameKey, string configKey, string resourceFolderName, AssetRequestMode mode) | |
| void | Draw () |
| void | TryToHover () |
Properties | |
| string | NameKey [get, set, private set] |
| string | ConfigKey [get, set, private set] |
Private Member Functions | |
| void | PrepareFields (Player player) |
| void | LifePanelDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
| void | ManaPanelDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
| void | LifeFillingDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
| void | ManaFillingDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
Static Private Member Functions | |
| static void | DrawManaText (SpriteBatch spriteBatch) |
| static void | DrawLifeBarText (SpriteBatch spriteBatch, Vector2 topLeftAnchor) |
| static void | FillBarByValues (int elementIndex, Asset< Texture2D > sprite, int segmentsCount, float fillPercent, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
Private Attributes | |
| int | _maxSegmentCount |
| int | _hpSegmentsCount |
| int | _mpSegmentsCount |
| int | _hpFruitCount |
| float | _hpPercent |
| float | _mpPercent |
| byte | _drawTextStyle |
| bool | _hpHovered |
| bool | _mpHovered |
| Asset< Texture2D > | _hpFill |
| Asset< Texture2D > | _hpFillHoney |
| Asset< Texture2D > | _mpFill |
| Asset< Texture2D > | _panelLeft |
| Asset< Texture2D > | _panelMiddleHP |
| Asset< Texture2D > | _panelRightHP |
| Asset< Texture2D > | _panelMiddleMP |
| Asset< Texture2D > | _panelRightMP |
| string< NameKey > | k__BackingField |
| string< ConfigKey > | k__BackingField |
Definition at line 14 of file HorizontalBarsPlayerResourcesDisplaySet.cs.