terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
SoundStyle.cs
Go to the documentation of this file.
1using System;
6
7namespace Terraria.Audio
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200068E")]
10 public abstract class SoundStyle
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x170006C5")]
13 public float Volume
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6003816")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1436F1C", Offset = "0x1436F1C", Length = "0x8")]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 get
19 {
20 throw null;
21 }
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x170006C6")]
25 public float PitchVariance
26 {
27 [global::Cpp2ILInjected.Token(Token = "0x6003817")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1436F24", Offset = "0x1436F24", Length = "0x8")]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 get
31 {
32 throw null;
33 }
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x170006C7")]
38 {
39 [global::Cpp2ILInjected.Token(Token = "0x6003818")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1436F2C", Offset = "0x1436F2C", Length = "0x8")]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 get
43 {
44 throw null;
45 }
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x170006C8")]
49 public abstract bool IsTrackable
50 {
51 [global::Cpp2ILInjected.Token(Token = "0x6003819")]
52 get;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x600381A")]
56 [global::Cpp2ILInjected.Address(RVA = "0x14346C0", Offset = "0x14346C0", Length = "0x3C")]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomSoundStyle), Member = ".ctor", MemberParameters = new object[]
58 {
61 typeof(float),
62 typeof(float)
63 }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomSoundStyle), Member = ".ctor", MemberParameters = new object[]
65 {
67 typeof(SoundType),
68 typeof(float),
69 typeof(float)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
73 public SoundStyle(float volume, float pitchVariance, SoundType type = SoundType.Sound)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x600381B")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1434564", Offset = "0x1434564", Length = "0x34")]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
82 public SoundStyle(SoundType type = SoundType.Sound)
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x600381C")]
88 [global::Cpp2ILInjected.Address(RVA = "0x1435BB4", Offset = "0x1435BB4", Length = "0xA4")]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
90 {
91 typeof(byte[]),
92 typeof(int),
93 typeof(ref int)
94 }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ActiveSound), Member = "Play", ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ActiveSound), Member = "PlayLooped", MemberParameters = new object[] { typeof(ActiveSound.LoopedPlayCondition) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
98 {
99 typeof(LegacySoundStyle),
100 typeof(int),
101 typeof(int)
102 }, ReturnType = typeof(SoundEffectInstance))]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "NextFloat", MemberParameters = new object[] { typeof(UnifiedRandom) }, ReturnType = typeof(float))]
105 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
106 public float GetRandomPitch()
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x600381D")]
112 public abstract SoundEffect GetRandomSound();
113
114 // Note: this type is marked as 'beforefieldinit'.
115 [global::Cpp2ILInjected.Token(Token = "0x600381E")]
116 [global::Cpp2ILInjected.Address(RVA = "0x1436F34", Offset = "0x1436F34", Length = "0x70")]
117 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
120 static SoundStyle()
121 {
122 throw null;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x4007909")]
126 private static UnifiedRandom _random;
127
128 [global::Cpp2ILInjected.Token(Token = "0x400790A")]
129 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
130 private float _volume;
131
132 [global::Cpp2ILInjected.Token(Token = "0x400790B")]
133 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
134 private float _pitchVariance;
135
136 [global::Cpp2ILInjected.Token(Token = "0x400790C")]
137 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
139 }
140}
class f__AnonymousType0<< Count > j__TPar
SoundStyle(SoundType type=SoundType.Sound)
Definition SoundStyle.cs:82
static UnifiedRandom _random
SoundStyle(float volume, float pitchVariance, SoundType type=SoundType.Sound)
Definition SoundStyle.cs:73
SoundEffect GetRandomSound()