public override void m000050(GameTime p0) { switch (this.f00023f) { case enum0226.f000005: this.m000031(); return; case enum0226.f00006d: if (this.f00005b.Count != 0) { goto Label_0043; } this.f00023f = enum0226.f00006e; break; case enum0226.f00006e: break; default: goto Label_0043; } return; Label_0043: if (this.f00005b.Count == 0) { this.f00023f = enum0226.f00006e; } else { double totalMilliseconds = p0.ElapsedGameTime.TotalMilliseconds; this.f000075 += totalMilliseconds; switch (this.f00002d) { case enum0232.f000254: case enum0232.f000255: break; case enum0232.f00002d: if ((this.f000075 > 11666.0) && !this.m000008()) { this.f00023f = enum0226.f00006d; } break; default: if ((this.f000075 > 35000.0) && !this.m000008()) { this.f00023f = enum0226.f00006d; } break; } this.m000032(); for (int i = 0; i < this.f00005b.Count; i++) { c00022f item = this.f00005b[i]; c00020e ce = item.m00009f(); if (ce.m00029f() == enum022e.f000243) { c00021c.m0002e2(this.f00002d, ce); this.f00000f -= item.m00009f().m0002d5(); this.f00005b.Remove(item); i--; } else { this.m000098(item); bool flag = ce.m000193(); ce.m000050(p0); if (!flag && ce.m000193()) { this.f000075 = 0.0; } } } if ((this.f000001 == enum0225.f000001) && (this.f000075 > (this.f000074 + this.f0000a5))) { foreach (c00022f cf2 in this.f00005b) { c00020e ce2 = cf2.m00009f(); c00021c.m0002e2(this.f00002d, ce2); } this.f00005b.Clear(); this.f00000f = 0; } if (this.f00005b.Count == 0) { this.f00023f = enum0226.f00006e; if (this.f00008e != null) { this.f00008e.Clear(); } } } }
private void m000031() { float num = this.m000022().X / 2f; float single1 = this.m000022().Y / 2f; for (int i = 0; i < 10; i++) { if (this.f000010 >= this.f00000b) { break; } Vector2 vector = this.f000240[this.f000010]; this.f000010++; c00020e ce = c00021c.m0002e0(this.f00002d); if (this.m00009d() != enum0225.f000045) { ce.m000091(enum022e.f000244); } c00022f cf = new c00022f(); cf.m000069(ce); cf.m000023(new Vector2(0f, vector.Y)); cf.m000025((num - vector.X) / this.m000024()); if (this.f000031 > 0f) { c000075 c = ce.m000282().m00002f(); c.m00025a(0.8f); c.m0001cb(enum0103.f00015a); c.m0001c8(this.f000031); c.m0001c9(this.f000031); c.m0001ca(this.f000031); c.m000143(this.f000031); c.m000265(this.f000031 / 2f); } this.m00010d(cf); } if (this.f00005b.Count == this.f00000b) { this.f00023f = enum0226.f00006c; this.f000240 = null; } }
public void m00004c(bool p0) { if (this.f00023f == enum0226.f000005) { this.f000240 = null; } this.f00023f = enum0226.f00006d; this.f000037 = 0f; this.f000033 *= 1.5f; }