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

◆ LoadAll()

void Terraria.Audio.LegacySoundPlayer.LoadAll ( )
inlineprivate

Definition at line 32 of file LegacySoundPlayer.cs.

33 {
35 Asset<SoundEffect> asset = this.Load("Sounds/Mech_0");
36 if (asset == null || asset != null)
37 {
38 Asset<SoundEffect> asset2 = this.Load("Sounds/Grab");
40 Asset<SoundEffect> asset3 = this.Load("Sounds/Pixie");
43 Asset<SoundEffect> asset4 = this.Load("Sounds/Dig_0");
44 if (asset4 == null || asset4 != null)
45 {
47 Asset<SoundEffect> asset5 = this.Load("Sounds/Dig_1");
48 if (asset5 == null || asset5 != null)
49 {
51 Asset<SoundEffect> asset6 = this.Load("Sounds/Dig_2");
52 if (asset6 == null || asset6 != null)
53 {
55 Asset<SoundEffect> asset7 = this.Load("Sounds/Thunder_0");
56 if (asset7 == null || asset7 != null)
57 {
59 Asset<SoundEffect> asset8 = this.Load("Sounds/Thunder_1");
60 if (asset8 == null || asset8 != null)
61 {
63 Asset<SoundEffect> asset9 = this.Load("Sounds/Thunder_2");
64 if (asset9 == null || asset9 != null)
65 {
67 Asset<SoundEffect> asset10 = this.Load("Sounds/Thunder_3");
68 if (asset10 == null || asset10 != null)
69 {
71 Asset<SoundEffect> asset11 = this.Load("Sounds/Thunder_4");
72 if (asset11 == null || asset11 != null)
73 {
75 Asset<SoundEffect> asset12 = this.Load("Sounds/Thunder_5");
76 if (asset12 == null || asset12 != null)
77 {
79 Asset<SoundEffect> asset13 = this.Load("Sounds/Thunder_6");
80 if (asset13 == null || asset13 != null)
81 {
83 Asset<SoundEffect> asset14 = this.Load("Sounds/Research_0");
84 if (asset14 == null || asset14 != null)
85 {
87 Asset<SoundEffect> asset15 = this.Load("Sounds/Research_1");
88 if (asset15 == null || asset15 != null)
89 {
91 Asset<SoundEffect> asset16 = this.Load("Sounds/Research_2");
92 if (asset16 == null || asset16 != null)
93 {
95 Asset<SoundEffect> asset17 = this.Load("Sounds/Research_3");
96 if (asset17 == null || asset17 != null)
97 {
99 Asset<SoundEffect> asset18 = this.Load("Sounds/Tink_0");
100 if (asset18 == null || asset18 != null)
101 {
103 Asset<SoundEffect> asset19 = this.Load("Sounds/Tink_1");
104 if (asset19 == null || asset19 != null)
105 {
107 Asset<SoundEffect> asset20 = this.Load("Sounds/Tink_2");
108 if (asset20 == null || asset20 != null)
109 {
111 Asset<SoundEffect> asset21 = this.Load("Sounds/Player_Hit_0");
112 if (asset21 == null || asset21 != null)
113 {
115 Asset<SoundEffect> asset22 = this.Load("Sounds/Player_Hit_1");
116 if (asset22 == null || asset22 != null)
117 {
119 Asset<SoundEffect> asset23 = this.Load("Sounds/Player_Hit_2");
120 if (asset23 == null || asset23 != null)
121 {
123 Asset<SoundEffect> asset24 = this.Load("Sounds/Female_Hit_0");
124 if (asset24 == null || asset24 != null)
125 {
127 Asset<SoundEffect> asset25 = this.Load("Sounds/Female_Hit_1");
128 if (asset25 == null || asset25 != null)
129 {
131 Asset<SoundEffect> asset26 = this.Load("Sounds/Female_Hit_2");
132 if (asset26 == null || asset26 != null)
133 {
134 Asset<SoundEffect> asset27 = this.Load("Sounds/Player_Killed");
136 Asset<SoundEffect> asset28 = this.Load("Sounds/Chat");
138 Asset<SoundEffect> asset29 = this.Load("Sounds/Grass");
140 Asset<SoundEffect> asset30 = this.Load("Sounds/Door_Opened");
142 Asset<SoundEffect> asset31 = this.Load("Sounds/Door_Closed");
144 Asset<SoundEffect> asset32 = this.Load("Sounds/Menu_Tick");
146 Asset<SoundEffect> asset33 = this.Load("Sounds/Menu_Open");
148 Asset<SoundEffect> asset34 = this.Load("Sounds/Menu_Close");
150 Asset<SoundEffect> asset35 = this.Load("Sounds/Shatter");
152 Asset<SoundEffect> asset36 = this.Load("Sounds/Camera");
155 string text2;
156 string text = "Sounds/Coin_" + text2;
157 Asset<SoundEffect> asset37 = this.Load(text);
158 if (asset37 == null || asset37 != null)
159 {
162 string text4;
163 string text3 = "Sounds/Drip_" + text4;
164 Asset<SoundEffect> asset38 = this.Load(text3);
165 if (asset38 == null || asset38 != null)
166 {
169 string text6;
170 string text5 = "Sounds/Zombie_" + text6;
171 Asset<SoundEffect> asset39 = this.Load(text5);
172 if (asset39 == null || asset39 != null)
173 {
176 string text8;
177 string text7 = "Sounds/Liquid_" + text8;
178 Asset<SoundEffect> asset40 = this.Load(text7);
179 if (asset40 == null || asset40 != null)
180 {
183 string text10;
184 string text9 = "Sounds/Roar_" + text10;
185 Asset<SoundEffect> asset41 = this.Load(text9);
186 if (asset41 == null || asset41 != null)
187 {
189 string text12;
190 string text11 = "Sounds/Splash_" + text12;
191 Asset<SoundEffect> asset42 = this.Load(text11);
192 if (asset42 == null || asset42 != null)
193 {
195 Asset<SoundEffect> asset43 = this.Load("Sounds/Double_Jump");
197 Asset<SoundEffect> asset44 = this.Load("Sounds/Run");
199 Asset<SoundEffect> asset45 = this.Load("Sounds/Coins");
201 Asset<SoundEffect> asset46 = this.Load("Sounds/Unlock");
203 Asset<SoundEffect> asset47 = this.Load("Sounds/MaxMana");
205 Asset<SoundEffect> asset48 = this.Load("Sounds/Drown");
208 string text14;
209 string text13 = "Sounds/Item_" + text14;
210 Asset<SoundEffect> asset49 = this.Load(text13);
211 if (asset49 == null || asset49 != null)
212 {
215 string text16;
216 string text15 = "Sounds/NPC_Hit_" + text16;
217 Asset<SoundEffect> asset50 = this.Load(text15);
218 if (asset50 == null || asset50 != null)
219 {
222 string text18;
223 string text17 = "Sounds/NPC_Killed_" + text18;
224 Asset<SoundEffect> asset51 = this.Load(text17);
225 if (asset51 == null || asset51 != null)
226 {
231 string text20;
232 string text19 = "Sounds/Custom" + text20 + trackableLegacySoundPath;
233 Asset<SoundEffect> asset52 = this.Load(text19);
234 if (asset52 == null || asset52 != null)
235 {
237 return;
238 }
239 }
240 }
241 }
242 }
243 }
244 }
245 }
246 }
247 }
248 }
249 }
250 }
251 }
252 }
253 }
254 }
255 }
256 }
257 }
258 }
259 }
260 }
261 }
262 }
263 }
264 }
265 }
266 }
267 }
268 }
269 }
270 }
271 }
272 throw new ArrayTypeMismatchException();
273 }
class f__AnonymousType0<< Count > j__TPar
Asset< SoundEffect > Load(string assetName)
Asset< SoundEffect >[] TrackableSounds
Asset< SoundEffect >[] SoundThunder
Asset< SoundEffect >[] SoundResearch
Asset< SoundEffect >[] SoundNpcKilled
Asset< SoundEffect >[] SoundPlayerHit
Asset< SoundEffect >[] SoundFemaleHit
static string GetTrackableLegacySoundPath(int id)
Definition SoundID.cs:44
static int TrackableLegacySoundCount
Definition SoundID.cs:15

References Terraria.ID.SoundID.GetTrackableLegacySoundPath(), j__TPar, Terraria.Audio.LegacySoundPlayer.Load(), Terraria.Audio.LegacySoundPlayer.SoundCoin, Terraria.Audio.LegacySoundPlayer.SoundDig, Terraria.Audio.LegacySoundPlayer.SoundDrip, Terraria.Audio.LegacySoundPlayer.SoundFemaleHit, Terraria.Audio.LegacySoundPlayer.SoundItem, Terraria.Audio.LegacySoundPlayer.SoundLiquid, Terraria.Audio.LegacySoundPlayer.SoundMech, Terraria.Audio.LegacySoundPlayer.SoundNpcHit, Terraria.Audio.LegacySoundPlayer.SoundNpcKilled, Terraria.Audio.LegacySoundPlayer.SoundPlayerHit, Terraria.Audio.LegacySoundPlayer.SoundResearch, Terraria.Audio.LegacySoundPlayer.SoundRoar, Terraria.Audio.LegacySoundPlayer.SoundSplash, Terraria.Audio.LegacySoundPlayer.SoundThunder, Terraria.Audio.LegacySoundPlayer.SoundTink, Terraria.Audio.LegacySoundPlayer.SoundZombie, System.text, Terraria.ID.SoundID.TrackableLegacySoundCount, and Terraria.Audio.LegacySoundPlayer.TrackableSounds.

Referenced by Terraria.Audio.LegacySoundPlayer.LegacySoundPlayer().