terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
Public Member Functions | |
HorizontalBarsPlayerResourcesDisplaySet (string nameKey, string configKey, string resourceFolderName, AssetRequestMode mode) | |
void | Draw () |
void | TryToHover () |
Properties | |
string | NameKey [get, private set] |
string | ConfigKey [get, 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 12 of file HorizontalBarsPlayerResourcesDisplaySet.cs.