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
BlizzardSky.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020009CC RID: 2508
10 public class BlizzardSky : CustomSky
11 {
12 // Token: 0x060049F0 RID: 18928 RVA: 0x002647FC File Offset: 0x002629FC
13 public override void OnLoad()
14 {
15 }
16
17 // Token: 0x060049F1 RID: 18929 RVA: 0x0026480C File Offset: 0x00262A0C
18 public override void Update(GameTime gameTime)
19 {
20 if (!true)
21 {
22 }
23 }
24
25 // Token: 0x060049F2 RID: 18930 RVA: 0x00264838 File Offset: 0x00262A38
26 public override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
27 {
28 if (!true)
29 {
30 }
31 float num = Math.Min(minDepth, maxDepth);
32 float opacity = this._opacity;
34 Color color = color2 * minDepth * num;
35 int screenWidth = Main.screenWidth;
36 int screenHeight = Main.screenHeight;
37 }
38
39 // Token: 0x060049F3 RID: 18931 RVA: 0x00264888 File Offset: 0x00262A88
40 public override void Activate(Vector2 position, params object[] args)
41 {
42 this._isActive = true;
43 }
44
45 // Token: 0x060049F4 RID: 18932 RVA: 0x0026489C File Offset: 0x00262A9C
46 public override void Deactivate(params object[] args)
47 {
48 this._isLeaving = true;
49 }
50
51 // Token: 0x060049F5 RID: 18933 RVA: 0x002648B0 File Offset: 0x00262AB0
52 public override void Reset()
53 {
54 }
55
56 // Token: 0x060049F6 RID: 18934 RVA: 0x002648C0 File Offset: 0x00262AC0
57 public override bool IsActive()
58 {
59 return this._isActive;
60 }
61
62 // Token: 0x060049F7 RID: 18935 RVA: 0x002648D4 File Offset: 0x00262AD4
63 public BlizzardSky()
64 {
65 }
66
67 // Token: 0x04008497 RID: 33943
69
70 // Token: 0x04008498 RID: 33944
71 private bool _isActive;
72
73 // Token: 0x04008499 RID: 33945
74 private bool _isLeaving;
75
76 // Token: 0x0400849A RID: 33946
77 private float _opacity;
78 }
79}
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152
override void Update(GameTime gameTime)
override void Deactivate(params object[] args)
override void Activate(Vector2 position, params object[] args)
override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
static int screenHeight
Definition Main.cs:2015
static int screenWidth
Definition Main.cs:2001