terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ FillBarByValues()

static void Terraria.GameContent.UI.ResourceSets.HorizontalBarsPlayerResourcesDisplaySet.FillBarByValues ( int elementIndex,
Asset< Texture2D > sprite,
int segmentsCount,
float fillPercent,
[Out] Vector2 offset,
[Out] float drawScale,
[Out] Rectangle? sourceRect )
inlinestaticprivate

Definition at line 161 of file HorizontalBarsPlayerResourcesDisplaySet.cs.

162 {
163 if (!true)
164 {
165 }
166 if (!true)
167 {
168 }
169 int num = 1;
170 float lerpValue = Utils.GetLerpValue(fillPercent, drawScale, fillPercent, num != 0);
171 int num2 = 16256;
172 int num3 = 1;
173 int num4 = 1;
174 long num5 = 0L;
175 long num6 = 0L;
176 long num7 = 0L;
177 long num8 = 0L;
179 Rectangle rectangle = Utils.Frame(sprite, num3, num4, (int)num5, (int)num6, (int)num7, (int)num8);
180 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Utils.Frame(), Terraria.Utils.GetLerpValue(), j__TPar, and System.L.