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

◆ PlaceWeapon()

static void WorldFile_OldSwitch.PlaceWeapon ( int x,
int y,
Item item )
inlinestatic

Definition at line 166 of file WorldFile_OldSwitch.cs.

167 {
168 int num = 1;
169 if (num == 0)
170 {
171 }
172 Tile tile;
173 bool flag = tile.active();
174 if (num == 0)
175 {
176 }
177 Tile tile2;
178 ushort type = tile2.type;
179 if (num == 0)
180 {
181 }
182 Tile tile3;
183 short frameY = tile3.frameY;
184 if (num == 0)
185 {
186 }
187 Tile tile4;
188 short frameY2 = tile4.frameY;
189 if (num == 0)
190 {
191 }
192 Tile tile5;
193 short frameY3 = tile5.frameY;
194 if (num == 0)
195 {
196 }
197 Tile tile6;
198 short frameX = tile6.frameX;
199 if (36409 == 0)
200 {
201 }
202 Tile tile7;
203 short frameX2 = tile7.frameX;
204 int netID = item.netID;
205 Tile tile8;
206 tile8.SetFrameX((short)x);
207 byte prefix = item.prefix;
208 Tile tile9;
209 tile9.SetFrameX((short)x);
210 }
class f__AnonymousType0<< Count > j__TPar
short frameY
Definition Tile.cs:285
ushort type
Definition Tile.cs:58
short frameX
Definition Tile.cs:244
bool active()
Definition Tile.cs:1241
void SetFrameX(short value)
Definition Tile.cs:258

References Terraria.Tile.active(), Terraria.Tile.frameX, Terraria.Tile.frameY, System.item, j__TPar, Terraria.Tile.SetFrameX(), and Terraria.Tile.type.