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
GUIAnimatedTexture.cs
Go to the documentation of this file.
1using System;
4
5// Token: 0x02000101 RID: 257
6public static class GUIAnimatedTexture
7{
8 // Token: 0x060006A1 RID: 1697 RVA: 0x00015614 File Offset: 0x00013814
9 public static void Draw(AnimatedTexture_Layout layout, float animationScale)
10 {
11 int numXFrames = layout.NumXFrames;
12 ControlAnchor.ControlId anchorControl = layout.AnchorControl;
13 Vector2 location = layout.Location;
14 float x = layout.Location.X;
15 float y = layout.Location.Y;
16 if (32640 == 0)
17 {
18 }
19 bool anchorForSize = layout.AnchorForSize;
20 if (anchorForSize)
21 {
22 ControlAnchor.ControlId sizeAnchorControl = layout.SizeAnchorControl;
23 Vector2 sizeLocation = layout.SizeLocation;
24 float x2 = layout.SizeLocation.X;
25 float y2 = layout.SizeLocation.Y;
26 if (!anchorForSize)
27 {
28 }
29 if (!anchorForSize)
30 {
31 }
32 return;
33 }
34 float x3 = layout.Size.X;
35 float y3 = layout.Size.Y;
36 if (!anchorForSize)
37 {
38 }
39 if (layout.Texture.Texture != null)
40 {
41 Color color = layout.Color;
42 int numXFrames2 = layout.NumXFrames;
43 }
44 }
45}
class f__AnonymousType0<< Count > j__TPar
static void Draw(AnimatedTexture_Layout layout, float animationScale)