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
ActionPlaceStatue.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x020008D1 RID: 2257
10 {
11 // Token: 0x06004595 RID: 17813 RVA: 0x00254FBC File Offset: 0x002531BC
12 public ActionPlaceStatue(int index = -1)
13 {
15 }
16
17 // Token: 0x06004596 RID: 17814 RVA: 0x00254FD8 File Offset: 0x002531D8
18 public override bool Apply(Point origin, int x, int y, params object[] args)
19 {
20 int num = 1;
21 int statueIndex = this._statueIndex;
22 if (num == 0)
23 {
24 }
25 int statueIndex2 = this._statueIndex;
27 int num2 = 2;
28 int num3 = random.Next(num2, x);
29 return base.UnitApply(origin, x, y, args);
30 }
31
32 // Token: 0x04008202 RID: 33282
33 private int _statueIndex;
34 }
35}
class f__AnonymousType0<< Count > j__TPar
override bool Apply(Point origin, int x, int y, params object[] args)
static UnifiedRandom _random
Definition GenBase.cs:13