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
SandstormSky.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020009D9 RID: 2521
10 public class SandstormSky : CustomSky
11 {
12 // Token: 0x06004A46 RID: 19014 RVA: 0x0026583C File Offset: 0x00263A3C
13 public override void OnLoad()
14 {
15 }
16
17 // Token: 0x06004A47 RID: 19015 RVA: 0x0026584C File Offset: 0x00263A4C
18 public override void Update(GameTime gameTime)
19 {
20 if (!true)
21 {
22 }
23 }
24
25 // Token: 0x06004A48 RID: 19016 RVA: 0x00265878 File Offset: 0x00263A78
26 public override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
27 {
28 float num = Math.Min(minDepth, maxDepth);
29 float opacity = this._opacity;
31 Color color = color2 * num;
32 int screenWidth = Main.screenWidth;
33 int screenHeight = Main.screenHeight;
34 }
35
36 // Token: 0x06004A49 RID: 19017 RVA: 0x002658C0 File Offset: 0x00263AC0
37 public override void Activate(Vector2 position, params object[] args)
38 {
39 this._isActive = true;
40 }
41
42 // Token: 0x06004A4A RID: 19018 RVA: 0x002658D4 File Offset: 0x00263AD4
43 public override void Deactivate(params object[] args)
44 {
45 this._isLeaving = true;
46 }
47
48 // Token: 0x06004A4B RID: 19019 RVA: 0x002658E8 File Offset: 0x00263AE8
49 public override void Reset()
50 {
51 }
52
53 // Token: 0x06004A4C RID: 19020 RVA: 0x002658F8 File Offset: 0x00263AF8
54 public override bool IsActive()
55 {
56 return this._isActive;
57 }
58
59 // Token: 0x06004A4D RID: 19021 RVA: 0x0026590C File Offset: 0x00263B0C
60 public SandstormSky()
61 {
62 }
63
64 // Token: 0x040084E2 RID: 34018
66
67 // Token: 0x040084E3 RID: 34019
68 private bool _isActive;
69
70 // Token: 0x040084E4 RID: 34020
71 private bool _isLeaving;
72
73 // Token: 0x040084E5 RID: 34021
74 private float _opacity;
75 }
76}
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152
override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
override void Update(GameTime gameTime)
override void Activate(Vector2 position, params object[] args)
override void Deactivate(params object[] args)
static int screenHeight
Definition Main.cs:2015
static int screenWidth
Definition Main.cs:2001