mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-18 20:40:20 -07:00
Consolidated Flames methods/fields
This commit is contained in:
parent
cb4eae0fbd
commit
249781ed8b
27 changed files with 656 additions and 660 deletions
|
|
@ -62,6 +62,8 @@ public final class ScriptRunner {
|
|||
public static final int[][] anIntArrayArray6 = new int[104][104];
|
||||
@OriginalMember(owner = "client!n", name = "e", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_767 = JagString.parse(")2");
|
||||
@OriginalMember(owner = "client!je", name = "U", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_588 = JagString.parse("showingVideoAd");
|
||||
@OriginalMember(owner = "client!jh", name = "n", descriptor = "Lclient!bd;")
|
||||
public static QuickChatPhrase activePhrase;
|
||||
@OriginalMember(owner = "client!wf", name = "j", descriptor = "Lclient!be;")
|
||||
|
|
@ -1295,6 +1297,17 @@ public final class ScriptRunner {
|
|||
return arg4 == null || SceneGraph.method2256(arg0, arg7, arg8, arg9 + 1 - arg7, arg10 - arg8 + 1, arg1, arg2, arg3, arg4, arg5, true, arg6);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!vl", name = "a", descriptor = "(I)Z")
|
||||
public static boolean isShowingVideoAd() {
|
||||
if (client.objectTag) {
|
||||
try {
|
||||
return !((Boolean) aClass100_588.browserControlCall(GameShell.signLink.applet));
|
||||
} catch (@Pc(21) Throwable local21) {
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static class Cs2Opcodes {
|
||||
// Component setters
|
||||
public static final int setPosition = 1000;
|
||||
|
|
@ -5262,7 +5275,7 @@ public final class ScriptRunner {
|
|||
continue;
|
||||
}
|
||||
if (opcode == Cs2Opcodes.isShowingVideoAd) {
|
||||
intStack[isp++] = Static267.isShowingVideoAd() ? 1 : 0;
|
||||
intStack[isp++] = isShowingVideoAd() ? 1 : 0;
|
||||
continue;
|
||||
}
|
||||
} else if (opcode < 6600) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue