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

◆ SetSize()

void Terraria.GameContent.Drawing.WindGrid.SetSize ( int targetWidth,
int targetHeight )
inline

Definition at line 12 of file WindGrid.cs.

13 {
14 int width = this._width;
15 if (!true)
16 {
17 }
18 int num = Math.Max(width, targetWidth);
19 int height = this._height;
20 this._width = num;
21 int num2 = Math.Max(height, targetHeight);
23 this.ResizeGrid();
24 }
class f__AnonymousType0<< Count > j__TPar
static byte Max(byte val1, byte val2)
Definition Math.cs:111

References Terraria.GameContent.Drawing.WindGrid._height, Terraria.GameContent.Drawing.WindGrid._width, j__TPar, System.Math.Max(), and Terraria.GameContent.Drawing.WindGrid.ResizeGrid().