rsclient: rev 191
This commit is contained in:
@@ -1,101 +1,370 @@
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("jb")
|
||||
@ObfuscatedName("jy")
|
||||
public class class280 {
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/CharSequence;Lmo;I)Ljava/lang/String;",
|
||||
garbageValue = "-1896450279"
|
||||
descriptor = "(Lby;II)V",
|
||||
garbageValue = "1050583706"
|
||||
)
|
||||
public static String method5160(CharSequence var0, LoginType var1) {
|
||||
if (var0 == null) {
|
||||
return null;
|
||||
@Export("runScript")
|
||||
static void runScript(ScriptEvent var0, int var1) {
|
||||
Object[] var2 = var0.args; // L: 101
|
||||
Script var3;
|
||||
int var17;
|
||||
if (class219.isWorldMapEvent(var0.type)) { // L: 103
|
||||
Frames.worldMapEvent = (WorldMapEvent)var2[0]; // L: 104
|
||||
WorldMapElement var4 = WorldMapSection0.WorldMapElement_get(Frames.worldMapEvent.mapElement); // L: 105
|
||||
var3 = class204.getWorldMapScript(var0.type, var4.objectId, var4.category); // L: 106
|
||||
} else {
|
||||
int var2 = 0;
|
||||
var17 = (Integer)var2[0]; // L: 109
|
||||
var3 = WorldMapRectangle.getScript(var17); // L: 110
|
||||
}
|
||||
|
||||
int var3;
|
||||
for (var3 = var0.length(); var2 < var3 && DesktopPlatformInfoProvider.method6481(var0.charAt(var2)); ++var2) {
|
||||
}
|
||||
if (var3 != null) { // L: 112
|
||||
Interpreter.Interpreter_intStackSize = 0; // L: 115
|
||||
Varps.Interpreter_stringStackSize = 0; // L: 116
|
||||
var17 = -1; // L: 117
|
||||
int[] var5 = var3.opcodes; // L: 118
|
||||
int[] var6 = var3.intOperands; // L: 119
|
||||
byte var7 = -1; // L: 120
|
||||
Interpreter.Interpreter_frameDepth = 0; // L: 121
|
||||
Interpreter.field1131 = false; // L: 122
|
||||
|
||||
while (var3 > var2 && DesktopPlatformInfoProvider.method6481(var0.charAt(var3 - 1))) {
|
||||
--var3;
|
||||
}
|
||||
try {
|
||||
int var10;
|
||||
try {
|
||||
Interpreter.Interpreter_intLocals = new int[var3.localIntCount]; // L: 124
|
||||
int var8 = 0; // L: 125
|
||||
WorldMapID.Interpreter_stringLocals = new String[var3.localStringCount]; // L: 126
|
||||
int var9 = 0; // L: 127
|
||||
|
||||
int var4 = var3 - var2;
|
||||
if (var4 >= 1) {
|
||||
byte var6;
|
||||
if (var1 == null) {
|
||||
var6 = 12;
|
||||
} else {
|
||||
switch(var1.field4060) {
|
||||
case 4:
|
||||
var6 = 20;
|
||||
break;
|
||||
default:
|
||||
var6 = 12;
|
||||
int var11;
|
||||
String var18;
|
||||
for (var10 = 1; var10 < var2.length; ++var10) { // L: 128
|
||||
if (var2[var10] instanceof Integer) { // L: 129
|
||||
var11 = (Integer)var2[var10]; // L: 130
|
||||
if (var11 == -2147483647) { // L: 131
|
||||
var11 = var0.mouseX;
|
||||
}
|
||||
|
||||
if (var11 == -2147483646) { // L: 132
|
||||
var11 = var0.mouseY;
|
||||
}
|
||||
|
||||
if (var11 == -2147483645) { // L: 133
|
||||
var11 = var0.widget != null ? var0.widget.id * 1163691799 * 1189552295 : -1;
|
||||
}
|
||||
|
||||
if (var11 == -2147483644) { // L: 134
|
||||
var11 = var0.opIndex;
|
||||
}
|
||||
|
||||
if (var11 == -2147483643) { // L: 135
|
||||
var11 = var0.widget != null ? var0.widget.childIndex * -1997993253 * 2095440211 : -1;
|
||||
}
|
||||
|
||||
if (var11 == -2147483642) { // L: 136
|
||||
var11 = var0.dragTarget != null ? var0.dragTarget.id * 1163691799 * 1189552295 : -1;
|
||||
}
|
||||
|
||||
if (var11 == -2147483641) { // L: 137
|
||||
var11 = var0.dragTarget != null ? var0.dragTarget.childIndex * -1997993253 * 2095440211 : -1;
|
||||
}
|
||||
|
||||
if (var11 == -2147483640) { // L: 138
|
||||
var11 = var0.keyTyped;
|
||||
}
|
||||
|
||||
if (var11 == -2147483639) { // L: 139
|
||||
var11 = var0.keyPressed;
|
||||
}
|
||||
|
||||
Interpreter.Interpreter_intLocals[var8++] = var11; // L: 140
|
||||
} else if (var2[var10] instanceof String) { // L: 142
|
||||
var18 = (String)var2[var10]; // L: 143
|
||||
if (var18.equals("event_opbase")) { // L: 144
|
||||
var18 = var0.targetName;
|
||||
}
|
||||
|
||||
WorldMapID.Interpreter_stringLocals[var9++] = var18; // L: 145
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (var4 <= var6) {
|
||||
StringBuilder var12 = new StringBuilder(var4);
|
||||
var10 = 0; // L: 149
|
||||
Interpreter.field1135 = var0.field593; // L: 150
|
||||
|
||||
for (int var14 = var2; var14 < var3; ++var14) {
|
||||
char var7 = var0.charAt(var14);
|
||||
boolean var8;
|
||||
if (Character.isISOControl(var7)) {
|
||||
var8 = false;
|
||||
} else if (Varps.isAlphaNumeric(var7)) {
|
||||
var8 = true;
|
||||
while (true) {
|
||||
++var10; // L: 152
|
||||
if (var10 > var1) { // L: 153
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
++var17; // L: 154
|
||||
int var29 = var5[var17];
|
||||
int var20;
|
||||
if (var29 >= 100) { // L: 155
|
||||
boolean var32;
|
||||
if (var3.intOperands[var17] == 1) { // L: 353
|
||||
var32 = true;
|
||||
} else {
|
||||
var32 = false; // L: 354
|
||||
}
|
||||
|
||||
var20 = WorldMapEvent.method830(var29, var3, var32); // L: 355
|
||||
switch(var20) { // L: 356
|
||||
case 0:
|
||||
return;
|
||||
case 1:
|
||||
default:
|
||||
break;
|
||||
case 2:
|
||||
throw new IllegalStateException(); // L: 363
|
||||
}
|
||||
} else if (var29 == 0) { // L: 156
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6[var17]; // L: 157
|
||||
} else if (var29 == ScriptOpcodes.GET_VARP) { // L: 160
|
||||
var11 = var6[var17]; // L: 161
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Varps.Varps_main[var11]; // L: 162
|
||||
} else if (var29 == ScriptOpcodes.SET_VARP) { // L: 165
|
||||
var11 = var6[var17]; // L: 166
|
||||
Varps.Varps_main[var11] = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 167
|
||||
Clock.changeGameOptions(var11); // L: 168
|
||||
} else if (var29 == ScriptOpcodes.SCONST) { // L: 171
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var3.stringOperands[var17]; // L: 172
|
||||
} else if (var29 == ScriptOpcodes.JUMP) { // L: 175
|
||||
var17 += var6[var17]; // L: 176
|
||||
} else if (var29 == ScriptOpcodes.IF_ICMPNE) { // L: 179
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 180
|
||||
if (Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] != Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]) { // L: 181
|
||||
var17 += var6[var17];
|
||||
}
|
||||
} else if (var29 == ScriptOpcodes.IF_ICMPEQ) { // L: 184
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 185
|
||||
if (Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] == Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]) { // L: 186
|
||||
var17 += var6[var17];
|
||||
}
|
||||
} else if (var29 == ScriptOpcodes.IF_ICMPLT) { // L: 189
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 190
|
||||
if (Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] < Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]) { // L: 191
|
||||
var17 += var6[var17];
|
||||
}
|
||||
} else if (var29 == ScriptOpcodes.IF_ICMPGT) { // L: 194
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 195
|
||||
if (Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] > Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]) { // L: 196
|
||||
var17 += var6[var17];
|
||||
}
|
||||
} else if (var29 == ScriptOpcodes.RETURN) { // L: 199
|
||||
if (Interpreter.Interpreter_frameDepth == 0) { // L: 200
|
||||
return;
|
||||
}
|
||||
|
||||
ScriptFrame var34 = Interpreter.Interpreter_frames[--Interpreter.Interpreter_frameDepth]; // L: 201
|
||||
var3 = var34.script; // L: 202
|
||||
var5 = var3.opcodes; // L: 203
|
||||
var6 = var3.intOperands; // L: 204
|
||||
var17 = var34.pc; // L: 205
|
||||
Interpreter.Interpreter_intLocals = var34.intLocals; // L: 206
|
||||
WorldMapID.Interpreter_stringLocals = var34.stringLocals; // L: 207
|
||||
} else if (var29 == ScriptOpcodes.GET_VARBIT) { // L: 210
|
||||
var11 = var6[var17]; // L: 211
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapSection1.getVarbit(var11); // L: 212
|
||||
} else if (var29 == ScriptOpcodes.SET_VARBIT) { // L: 215
|
||||
var11 = var6[var17]; // L: 216
|
||||
Huffman.method4047(var11, Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]); // L: 217
|
||||
} else if (var29 == ScriptOpcodes.IF_ICMPLE) { // L: 220
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 221
|
||||
if (Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] <= Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]) { // L: 222
|
||||
var17 += var6[var17];
|
||||
}
|
||||
} else if (var29 == ScriptOpcodes.IF_ICMPGE) { // L: 225
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 226
|
||||
if (Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] >= Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]) { // L: 227
|
||||
var17 += var6[var17];
|
||||
}
|
||||
} else if (var29 == ScriptOpcodes.ILOAD) { // L: 230
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Interpreter.Interpreter_intLocals[var6[var17]]; // L: 231
|
||||
} else if (var29 == ScriptOpcodes.ISTORE) { // L: 234
|
||||
Interpreter.Interpreter_intLocals[var6[var17]] = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 235
|
||||
} else if (var29 == ScriptOpcodes.SLOAD) { // L: 238
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = WorldMapID.Interpreter_stringLocals[var6[var17]]; // L: 239
|
||||
} else if (var29 == ScriptOpcodes.SSTORE) { // L: 242
|
||||
WorldMapID.Interpreter_stringLocals[var6[var17]] = Interpreter.Interpreter_stringStack[--Varps.Interpreter_stringStackSize]; // L: 243
|
||||
} else if (var29 == ScriptOpcodes.JOIN_STRING) { // L: 246
|
||||
var11 = var6[var17]; // L: 247
|
||||
Varps.Interpreter_stringStackSize -= var11; // L: 248
|
||||
String var31 = UserComparator6.method3535(Interpreter.Interpreter_stringStack, Varps.Interpreter_stringStackSize, var11); // L: 249
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var31; // L: 250
|
||||
} else if (var29 == ScriptOpcodes.POP_INT) { // L: 253
|
||||
--Interpreter.Interpreter_intStackSize; // L: 254
|
||||
} else if (var29 == ScriptOpcodes.POP_STRING) { // L: 257
|
||||
--Varps.Interpreter_stringStackSize; // L: 258
|
||||
} else {
|
||||
char[] var9 = class348.field4065;
|
||||
int var10 = 0;
|
||||
|
||||
label79:
|
||||
while (true) {
|
||||
char var11;
|
||||
if (var10 >= var9.length) {
|
||||
var9 = class348.field4064;
|
||||
|
||||
for (var10 = 0; var10 < var9.length; ++var10) {
|
||||
var11 = var9[var10];
|
||||
if (var7 == var11) {
|
||||
var8 = true;
|
||||
break label79;
|
||||
}
|
||||
int var15;
|
||||
if (var29 != ScriptOpcodes.INVOKE) { // L: 261
|
||||
if (var29 == ScriptOpcodes.GET_VARC_INT) { // L: 284
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = ClientPreferences.varcs.getInt(var6[var17]); // L: 285
|
||||
} else if (var29 == ScriptOpcodes.SET_VARC_INT) { // L: 288
|
||||
ClientPreferences.varcs.setInt(var6[var17], Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]); // L: 289
|
||||
} else if (var29 == ScriptOpcodes.DEFINE_ARRAY) { // L: 292
|
||||
var11 = var6[var17] >> 16; // L: 293
|
||||
var20 = var6[var17] & 65535; // L: 294
|
||||
int var21 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 295
|
||||
if (var21 < 0 || var21 > 5000) { // L: 296
|
||||
throw new RuntimeException(); // L: 297
|
||||
}
|
||||
|
||||
var8 = false;
|
||||
break;
|
||||
Interpreter.Interpreter_arrayLengths[var11] = var21; // L: 299
|
||||
byte var22 = -1; // L: 300
|
||||
if (var20 == 105) { // L: 301
|
||||
var22 = 0;
|
||||
}
|
||||
|
||||
for (var15 = 0; var15 < var21; ++var15) { // L: 302
|
||||
Interpreter.Interpreter_arrays[var11][var15] = var22;
|
||||
}
|
||||
} else if (var29 == ScriptOpcodes.GET_ARRAY_INT) { // L: 305
|
||||
var11 = var6[var17]; // L: 306
|
||||
var20 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 307
|
||||
if (var20 < 0 || var20 >= Interpreter.Interpreter_arrayLengths[var11]) { // L: 308
|
||||
throw new RuntimeException(); // L: 309
|
||||
}
|
||||
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Interpreter.Interpreter_arrays[var11][var20]; // L: 311
|
||||
} else if (var29 == ScriptOpcodes.SET_ARRAY_INT) { // L: 314
|
||||
var11 = var6[var17]; // L: 315
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 316
|
||||
var20 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize]; // L: 317
|
||||
if (var20 < 0 || var20 >= Interpreter.Interpreter_arrayLengths[var11]) { // L: 318
|
||||
throw new RuntimeException(); // L: 319
|
||||
}
|
||||
|
||||
Interpreter.Interpreter_arrays[var11][var20] = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]; // L: 321
|
||||
} else if (var29 == ScriptOpcodes.GET_VARC_STRING_OLD) { // L: 324
|
||||
var18 = ClientPreferences.varcs.getStringOld(var6[var17]); // L: 325
|
||||
if (var18 == null) { // L: 326
|
||||
var18 = "null";
|
||||
}
|
||||
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var18; // L: 327
|
||||
} else if (var29 == ScriptOpcodes.SET_VARC_STRING_OLD) { // L: 330
|
||||
ClientPreferences.varcs.setStringOld(var6[var17], Interpreter.Interpreter_stringStack[--Varps.Interpreter_stringStackSize]); // L: 331
|
||||
} else if (var29 == ScriptOpcodes.GET_VARC_STRING) { // L: 334
|
||||
var18 = ClientPreferences.varcs.getString(var6[var17]); // L: 335
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var18; // L: 336
|
||||
} else if (var29 == ScriptOpcodes.SET_VARC_STRING) { // L: 339
|
||||
ClientPreferences.varcs.setString(var6[var17], Interpreter.Interpreter_stringStack[--Varps.Interpreter_stringStackSize]); // L: 340
|
||||
} else {
|
||||
if (var29 != ScriptOpcodes.SWITCH) { // L: 343
|
||||
throw new IllegalStateException(); // L: 349
|
||||
}
|
||||
|
||||
IterableNodeHashTable var33 = var3.switches[var6[var17]]; // L: 344
|
||||
IntegerNode var30 = (IntegerNode)var33.get((long)Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]); // L: 345
|
||||
if (var30 != null) { // L: 346
|
||||
var17 += var30.integer;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var11 = var6[var17]; // L: 262
|
||||
Script var12 = WorldMapRectangle.getScript(var11); // L: 263
|
||||
int[] var13 = new int[var12.localIntCount]; // L: 264
|
||||
String[] var14 = new String[var12.localStringCount]; // L: 265
|
||||
|
||||
for (var15 = 0; var15 < var12.intArgumentCount; ++var15) { // L: 266
|
||||
var13[var15] = Interpreter.Interpreter_intStack[var15 + (Interpreter.Interpreter_intStackSize - var12.intArgumentCount)];
|
||||
}
|
||||
|
||||
var11 = var9[var10];
|
||||
if (var11 == var7) {
|
||||
var8 = true;
|
||||
break;
|
||||
for (var15 = 0; var15 < var12.stringArgumentCount; ++var15) { // L: 267
|
||||
var14[var15] = Interpreter.Interpreter_stringStack[var15 + (Varps.Interpreter_stringStackSize - var12.stringArgumentCount)];
|
||||
}
|
||||
|
||||
++var10;
|
||||
}
|
||||
}
|
||||
|
||||
if (var8) {
|
||||
char var13 = KitDefinition.method4650(var7);
|
||||
if (var13 != 0) {
|
||||
var12.append(var13);
|
||||
Interpreter.Interpreter_intStackSize -= var12.intArgumentCount; // L: 268
|
||||
Varps.Interpreter_stringStackSize -= var12.stringArgumentCount; // L: 269
|
||||
ScriptFrame var19 = new ScriptFrame(); // L: 270
|
||||
var19.script = var3; // L: 271
|
||||
var19.pc = var17; // L: 272
|
||||
var19.intLocals = Interpreter.Interpreter_intLocals; // L: 273
|
||||
var19.stringLocals = WorldMapID.Interpreter_stringLocals; // L: 274
|
||||
Interpreter.Interpreter_frames[++Interpreter.Interpreter_frameDepth - 1] = var19; // L: 275
|
||||
var3 = var12; // L: 276
|
||||
var5 = var12.opcodes; // L: 277
|
||||
var6 = var12.intOperands; // L: 278
|
||||
var17 = -1; // L: 279
|
||||
Interpreter.Interpreter_intLocals = var13; // L: 280
|
||||
WorldMapID.Interpreter_stringLocals = var14; // L: 281
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception var27) { // L: 369
|
||||
StringBuilder var24 = new StringBuilder(30); // L: 371
|
||||
var24.append("").append(var3.key).append(" "); // L: 372
|
||||
|
||||
if (var12.length() == 0) {
|
||||
return null;
|
||||
for (var10 = Interpreter.Interpreter_frameDepth - 1; var10 >= 0; --var10) { // L: 373
|
||||
var24.append("").append(Interpreter.Interpreter_frames[var10].script.key).append(" ");
|
||||
}
|
||||
|
||||
return var12.toString();
|
||||
var24.append("").append(var7); // L: 374
|
||||
Decimator.RunException_sendStackTrace(var24.toString(), var27); // L: 375
|
||||
}
|
||||
} finally {
|
||||
if (Interpreter.field1131) { // L: 379
|
||||
Interpreter.field1132 = true; // L: 380
|
||||
ItemContainer.method1213(); // L: 381
|
||||
Interpreter.field1132 = false; // L: 382
|
||||
Interpreter.field1131 = false; // L: 383
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // L: 113 386
|
||||
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;ZZI)V",
|
||||
garbageValue = "-1343804215"
|
||||
)
|
||||
@Export("openURL")
|
||||
public static void openURL(String var0, boolean var1, boolean var2) {
|
||||
WorldMapData_0.method255(var0, var1, "openjs", var2); // L: 27
|
||||
} // L: 28
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIILjg;II)V",
|
||||
garbageValue = "1627824934"
|
||||
)
|
||||
static void method5093(int var0, int var1, int var2, ObjectDefinition var3, int var4) {
|
||||
ObjectSound var5 = new ObjectSound(); // L: 67
|
||||
var5.plane = var0; // L: 68
|
||||
var5.x = var1 * 128; // L: 69
|
||||
var5.y = var2 * 128; // L: 70
|
||||
int var6 = var3.sizeX; // L: 71
|
||||
int var7 = var3.sizeY; // L: 72
|
||||
if (var4 == 1 || var4 == 3) { // L: 73
|
||||
var6 = var3.sizeY; // L: 74
|
||||
var7 = var3.sizeX; // L: 75
|
||||
}
|
||||
|
||||
var5.field1106 = (var6 + var1) * 128; // L: 77
|
||||
var5.field1117 = (var7 + var2) * 128; // L: 78
|
||||
var5.soundEffectId = var3.ambientSoundId; // L: 79
|
||||
var5.field1108 = var3.int4 * 128; // L: 80
|
||||
var5.field1109 = var3.int5; // L: 81
|
||||
var5.field1115 = var3.int6; // L: 82
|
||||
var5.soundEffectIds = var3.soundEffectIds; // L: 83
|
||||
if (var3.transforms != null) { // L: 84
|
||||
var5.obj = var3; // L: 85
|
||||
var5.set(); // L: 86
|
||||
}
|
||||
|
||||
ObjectSound.objectSounds.addFirst(var5); // L: 88
|
||||
if (var5.soundEffectIds != null) { // L: 89
|
||||
var5.field1118 = var5.field1109 + (int)(Math.random() * (double)(var5.field1115 - var5.field1109));
|
||||
}
|
||||
|
||||
} // L: 90
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user