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

◆ DespawnIfMeetingConditions()

void Terraria.Item.DespawnIfMeetingConditions ( int i)
inlineprivate

Definition at line 1308 of file Item.cs.

1309 {
1310 if (this.type == 0)
1311 {
1312 }
1313 if (!this.shimmered && !this.beingGrabbed)
1314 {
1315 float x = this.position.X;
1316 float y = this.position.Y;
1317 int width = this.width;
1318 bool wet = this.wet;
1319 float x2 = this.velocity.X;
1320 float y2 = this.velocity.Y;
1321 float x3 = this.velocity.X;
1322 float y3 = this.velocity.Y;
1323 float x4 = this.position.X;
1324 float y4 = this.position.Y;
1325 bool netHost = Main.NetHost;
1326 }
1327 int num = this.type;
1328 int num2 = 4143;
1329 int num3 = this.timeSinceItemSpawned;
1330 float x5 = this.position.X;
1331 float y5 = this.position.Y;
1332 int width2 = this.width;
1333 bool wet2 = this.wet;
1334 float x6 = this.velocity.X;
1335 float y6 = this.velocity.Y;
1336 if (num3 == 0)
1337 {
1338 }
1339 if (num2 == 0)
1340 {
1341 }
1342 bool netHost2 = Main.NetHost;
1343 int num4 = this.type;
1344 if (num4 == 0)
1345 {
1346 }
1347 if (num4 == 0)
1348 {
1349 if (num4 == 0)
1350 {
1351 }
1352 Vector2 center = base.Center;
1353 Vector2 center2 = base.Center;
1354 return;
1355 }
1356 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
bool shimmered
Definition Item.cs:2416
bool beingGrabbed
Definition Item.cs:2045
int timeSinceItemSpawned
Definition Item.cs:2153

References Terraria.Item.beingGrabbed, j__TPar, Terraria.Main.NetHost, Terraria.Entity.position, Terraria.Item.shimmered, Terraria.Item.timeSinceItemSpawned, Terraria.Item.type, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.