Refactor more quick chat code

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent 952678af0d
commit 8401126775
  1. 192
      share/deob/map/client.yaml

@ -5,7 +5,7 @@ classes:
client!ae: "Class6" client!ae: "Class6"
client!af: "AnimBase" client!af: "AnimBase"
client!ag: "Class7" client!ag: "Class7"
client!ai: "Interface1" client!ai: "QuickChatCommandDecoder"
client!ak: "SecondaryHashTable" client!ak: "SecondaryHashTable"
client!al: "Js5CacheRequest" client!al: "Js5CacheRequest"
client!am: "Class11_Sub1" client!am: "Class11_Sub1"
@ -26,7 +26,7 @@ classes:
client!c: "Js5GlTextureProvider" client!c: "Js5GlTextureProvider"
client!ca: "TextureOp11" client!ca: "TextureOp11"
client!cc: "SoftLruHashTable" client!cc: "SoftLruHashTable"
client!cd: "Class27" client!cd: "QuickChatPhrase"
client!cf: "TextureOp6" client!cf: "TextureOp6"
client!ch: "CollisionMap" client!ch: "CollisionMap"
client!ci: "Class31" client!ci: "Class31"
@ -175,7 +175,7 @@ classes:
client!of: "TextureOp8" client!of: "TextureOp8"
client!og: "TextureOp39" client!og: "TextureOp39"
client!oh: "FloType" client!oh: "FloType"
client!oi: "Class128" client!oi: "Js5QuickChatCommandDecoder"
client!oj: "HuffmanCodec" client!oj: "HuffmanCodec"
client!ok: "BrokenOutputStream" client!ok: "BrokenOutputStream"
client!ol: "Class4_Sub20" client!ol: "Class4_Sub20"
@ -1071,11 +1071,11 @@ fields:
owner: "SoftLruHashTable" owner: "SoftLruHashTable"
name: "capacity" name: "capacity"
client!cd.a Lclient!ij;: client!cd.a Lclient!ij;:
owner: "Class27" owner: "QuickChatPhrase"
name: "aClass4_Sub3_Sub11_1" name: "type"
client!cd.b I: client!cd.b I:
owner: "Class27" owner: "QuickChatPhrase"
name: "anInt540" name: "id"
client!cd.f Lclient!om;: client!cd.f Lclient!om;:
owner: "Static1" owner: "Static1"
name: "aClass130_1" name: "aClass130_1"
@ -1083,8 +1083,8 @@ fields:
owner: "FluTypeList" owner: "FluTypeList"
name: "types" name: "types"
client!cd.k [I: client!cd.k [I:
owner: "Class27" owner: "QuickChatPhrase"
name: "anIntArray48" name: "values"
client!ce.a I: client!ce.a I:
owner: "Static1" owner: "Static1"
name: "anInt547" name: "anInt547"
@ -1569,8 +1569,8 @@ fields:
owner: "Class37" owner: "Class37"
name: "anInt904" name: "anInt904"
client!dc.p [I: client!dc.p [I:
owner: "Static2" owner: "QuickChatPhraseType"
name: "anIntArray64" name: "DYNAMIC_COMMAND_ENCODE_BYTES"
client!dc.q I: client!dc.q I:
owner: "Class37" owner: "Class37"
name: "anInt905" name: "anInt905"
@ -3654,8 +3654,8 @@ fields:
owner: "GameShell" owner: "GameShell"
name: "focus" name: "focus"
client!ia.d [I: client!ia.d [I:
owner: "Static3" owner: "QuickChatPhraseType"
name: "anIntArray191" name: "DYNAMIC_COMMAND_DECODE_BYTES"
client!ia.e Ljava/lang/String;: client!ia.e Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
name: "MEMBERS_OBJECT" name: "MEMBERS_OBJECT"
@ -3937,13 +3937,13 @@ fields:
name: "anIntArrayArrayArray7" name: "anIntArrayArrayArray7"
client!ij.A [[I: client!ij.A [[I:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "anIntArrayArray20" name: "dynamicCommandParams"
client!ij.D Ljava/awt/Frame;: client!ij.D Ljava/awt/Frame;:
owner: "GameShell" owner: "GameShell"
name: "fullScreenFrame" name: "fullScreenFrame"
client!ij.H Z: client!ij.H Z:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "aBoolean163" name: "searchable"
client!ij.L Lclient!vn;: client!ij.L Lclient!vn;:
owner: "Static3" owner: "Static3"
name: "aClass4_Sub3_Sub14_Sub1_3" name: "aClass4_Sub3_Sub14_Sub1_3"
@ -3955,16 +3955,16 @@ fields:
name: "aClass84_8" name: "aClass84_8"
client!ij.O [I: client!ij.O [I:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "anIntArray212" name: "automaticResponses"
client!ij.S [Ljava/lang/String;: client!ij.S [Ljava/lang/String;:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "aStringArray17" name: "text"
client!ij.T I: client!ij.T I:
owner: "Static3" owner: "Static3"
name: "anInt2394" name: "anInt2394"
client!ij.z [I: client!ij.z [I:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "anIntArray210" name: "dynamicCommands"
client!ik.A I: client!ik.A I:
owner: "Class89" owner: "Class89"
name: "anInt2419" name: "anInt2419"
@ -7633,7 +7633,7 @@ fields:
name: "aClass4_Sub3_Sub19Array4" name: "aClass4_Sub3_Sub19Array4"
client!pl.v Lclient!ai;: client!pl.v Lclient!ai;:
owner: "QuickChatPhraseTypeList" owner: "QuickChatPhraseTypeList"
name: "anInterface1_1" name: "commandDecoder"
client!pl.x Ljava/lang/String;: client!pl.x Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
name: "FRIENDLOGIN" name: "FRIENDLOGIN"
@ -8025,8 +8025,8 @@ fields:
owner: "NpcTypeList" owner: "NpcTypeList"
name: "allowMembers" name: "allowMembers"
client!qe.f [I: client!qe.f [I:
owner: "Static5" owner: "QuickChatPhraseType"
name: "anIntArray456" name: "DYNAMIC_COMMAND_PARAM_LENGTHS"
client!qe.g Lclient!ic;: client!qe.g Lclient!ic;:
owner: "HashTableIterator" owner: "HashTableIterator"
name: "table" name: "table"
@ -11761,16 +11761,16 @@ fields:
name: "anInt6022" name: "anInt6022"
client!wh.C Ljava/lang/String;: client!wh.C Ljava/lang/String;:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "aString362" name: "description"
client!wh.D [I: client!wh.D [I:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "anIntArray677" name: "subcategories"
client!wh.F [C: client!wh.F [C:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "aCharArray4" name: "subcategoryShortcuts"
client!wh.J [C: client!wh.J [C:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "aCharArray5" name: "phraseShortcuts"
client!wh.L [I: client!wh.L [I:
owner: "Static7" owner: "Static7"
name: "anIntArray678" name: "anIntArray678"
@ -11779,7 +11779,7 @@ fields:
name: "FRIENDCANTADDSELF" name: "FRIENDCANTADDSELF"
client!wh.z [I: client!wh.z [I:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "anIntArray676" name: "phrases"
client!wi.b Lclient!fh;: client!wi.b Lclient!fh;:
owner: "NpcTypeList" owner: "NpcTypeList"
name: "npcsArchive" name: "npcsArchive"
@ -12522,12 +12522,12 @@ methods:
156: "local156" 156: "local156"
168: "local168" 168: "local168"
client!ai.a (J[IBI)Ljava/lang/String;: client!ai.a (J[IBI)Ljava/lang/String;:
owner: "Interface1" owner: "QuickChatCommandDecoder"
name: "method3224" name: "decode"
arguments: arguments:
0: "arg0" 3: "command"
1: "arg1" 1: "params"
3: "arg2" 0: "value"
locals: {} locals: {}
client!aj.a (B)V: client!aj.a (B)V:
owner: "Static8" owner: "Static8"
@ -19684,7 +19684,7 @@ methods:
arguments: arguments:
3: "archive" 3: "archive"
1: "globalArchive" 1: "globalArchive"
2: "arg1" 2: "textDecoder"
locals: {} locals: {}
client!g.a (IIIIIII)V: client!g.a (IIIIIII)V:
owner: "Static16" owner: "Static16"
@ -23419,25 +23419,25 @@ methods:
locals: {} locals: {}
client!ij.a (II)I: client!ij.a (II)I:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "method1905" name: "getDynamicCommand"
arguments: arguments:
0: "arg0" 0: "i"
locals: {} locals: {}
client!ij.a (III)I: client!ij.a (III)I:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "method1904" name: "getDynamicCommandParam"
arguments: arguments:
0: "arg0" 2: "i"
2: "arg1" 0: "j"
locals: {} locals: {}
client!ij.a (ILclient!fd;)Ljava/lang/String;: client!ij.a (ILclient!fd;)Ljava/lang/String;:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "method1909" name: "decodeMessage"
arguments: arguments:
1: "arg0" 1: "buffer"
locals: locals:
16: "local16" 16: "s"
21: "local21" 21: "i"
client!ij.a (IZLclient!fd;)V: client!ij.a (IZLclient!fd;)V:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "decode" name: "decode"
@ -23445,12 +23445,12 @@ methods:
2: "buffer" 2: "buffer"
0: "code" 0: "code"
locals: locals:
27: "local27" 27: "len"
37: "local37" 37: "i"
48: "local48" 48: "command"
63: "local63" 63: "j"
103: "local103" 103: "len"
109: "local109" 109: "i"
client!ij.a (Lclient!co;)V: client!ij.a (Lclient!co;)V:
owner: "Terrain" owner: "Terrain"
name: "removeScenery" name: "removeScenery"
@ -23472,16 +23472,16 @@ methods:
14: "code" 14: "code"
client!ij.a ([IBLclient!fd;)V: client!ij.a ([IBLclient!fd;)V:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "method1911" name: "encodeMessage"
arguments: arguments:
0: "arg0" 2: "buffer"
2: "arg1" 0: "values"
locals: locals:
13: "local13" 13: "i"
29: "local29" 29: "bytes"
client!ij.d (I)I: client!ij.d (I)I:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "method1903" name: "getDynamicCommandCount"
arguments: {} arguments: {}
locals: {} locals: {}
client!ij.e (I)V: client!ij.e (I)V:
@ -23489,14 +23489,14 @@ methods:
name: "method1910" name: "method1910"
arguments: {} arguments: {}
locals: locals:
20: "local20" 20: "i"
client!ij.f (I)Ljava/lang/String;: client!ij.f (I)Ljava/lang/String;:
owner: "QuickChatPhraseType" owner: "QuickChatPhraseType"
name: "method1913" name: "getText"
arguments: {} arguments: {}
locals: locals:
6: "local6" 6: "s"
31: "local31" 31: "i"
client!ik.a (B)V: client!ik.a (B)V:
owner: "Class89" owner: "Class89"
name: "method1919" name: "method1919"
@ -23701,13 +23701,13 @@ methods:
69: "local69" 69: "local69"
client!in.a (JII[I)Ljava/lang/String;: client!in.a (JII[I)Ljava/lang/String;:
owner: "QuickChatPhraseTypeList" owner: "QuickChatPhraseTypeList"
name: "method1940" name: "decodeCommand"
arguments: arguments:
0: "arg0" 2: "command"
2: "arg1" 3: "params"
3: "arg2" 0: "value"
locals: locals:
18: "local18" 18: "s"
client!in.a (ZI)V: client!in.a (ZI)V:
owner: "Static20" owner: "Static20"
name: "method1942" name: "method1942"
@ -24439,11 +24439,11 @@ methods:
4288: "local4288" 4288: "local4288"
4295: "local4295" 4295: "local4295"
4299: "local4299" 4299: "local4299"
4303: "local4303" 4303: "phraseId"
4305: "local4305" 4305: "local4305"
4307: "local4307" 4307: "local4307"
4333: "local4333" 4333: "local4333"
4375: "local4375" 4375: "message"
4452: "local4452" 4452: "local4452"
4456: "local4456" 4456: "local4456"
4460: "local4460" 4460: "local4460"
@ -24491,12 +24491,12 @@ methods:
5116: "local5116" 5116: "local5116"
5121: "local5121" 5121: "local5121"
5125: "local5125" 5125: "local5125"
5129: "local5129" 5129: "phraseId"
5131: "local5131" 5131: "local5131"
5137: "local5137" 5137: "local5137"
5139: "local5139" 5139: "local5139"
5167: "local5167" 5167: "local5167"
5214: "local5214" 5214: "message"
5282: "local5282" 5282: "local5282"
5286: "local5286" 5286: "local5286"
5290: "local5290" 5290: "local5290"
@ -24544,8 +24544,8 @@ methods:
5841: "local5841" 5841: "local5841"
5867: "local5867" 5867: "local5867"
5909: "local5909" 5909: "local5909"
5913: "local5913" 5913: "phraseId"
5920: "local5920" 5920: "message"
5941: "local5941" 5941: "local5941"
5945: "local5945" 5945: "local5945"
5951: "local5951" 5951: "local5951"
@ -29262,12 +29262,12 @@ methods:
locals: locals:
1: "bits" 1: "bits"
client!me.a (ILclient!fd;)Lclient!cd;: client!me.a (ILclient!fd;)Lclient!cd;:
owner: "Static24" owner: "QuickChatPhrase"
name: "method2701" name: "decode"
arguments: arguments:
1: "arg0" 1: "buffer"
locals: locals:
7: "local7" 7: "phrase"
client!me.a (ZLjava/lang/String;I)V: client!me.a (ZLjava/lang/String;I)V:
owner: "Static24" owner: "Static24"
name: "method2699" name: "method2699"
@ -33404,15 +33404,15 @@ methods:
1: "arg0" 1: "arg0"
locals: {} locals: {}
client!oi.a (J[IBI)Ljava/lang/String;: client!oi.a (J[IBI)Ljava/lang/String;:
owner: "Class128" owner: "Js5QuickChatCommandDecoder"
name: "method3224" name: "decode"
arguments: arguments:
0: "arg0" 3: "command"
1: "arg1" 1: "params"
3: "arg2" 0: "value"
locals: locals:
18: "local18" 18: "type"
38: "local38" 38: "type"
client!oi.a (Lclient!fh;BII)[Lclient!uj;: client!oi.a (Lclient!fh;BII)[Lclient!uj;:
owner: "Static27" owner: "Static27"
name: "method3225" name: "method3225"
@ -36520,9 +36520,9 @@ methods:
264: "local264" 264: "local264"
266: "local266" 266: "local266"
284: "local284" 284: "local284"
314: "local314" 314: "phraseId"
333: "local333" 333: "message"
343: "local343" 343: "phrase"
450: "local450" 450: "local450"
454: "local454" 454: "local454"
456: "local456" 456: "local456"
@ -45901,11 +45901,11 @@ methods:
5: "code" 5: "code"
client!wh.a (CI)I: client!wh.a (CI)I:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "method4774" name: "getPhraseByShortcut"
arguments: arguments:
0: "arg0" 0: "shortcut"
locals: locals:
20: "local20" 20: "i"
client!wh.a (II)Lclient!d;: client!wh.a (II)Lclient!d;:
owner: "BasTypeList" owner: "BasTypeList"
name: "get" name: "get"
@ -45933,26 +45933,26 @@ methods:
1: "buffer" 1: "buffer"
2: "code" 2: "code"
locals: locals:
39: "local39" 39: "len"
49: "local49" 49: "i"
69: "local69" 69: "phrase"
95: "local95" 95: "len"
105: "local105" 105: "i"
119: "local119" 119: "shortcut"
client!wh.b (CI)I: client!wh.b (CI)I:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "method4777" name: "getSubcategoryByShortcut"
arguments: arguments:
0: "arg0" 0: "shortcut"
locals: locals:
21: "local21" 21: "i"
client!wh.e (I)V: client!wh.e (I)V:
owner: "QuickChatCatType" owner: "QuickChatCatType"
name: "method4778" name: "method4778"
arguments: {} arguments: {}
locals: locals:
8: "local8" 8: "i"
39: "local39" 39: "i"
client!wi.a (II)V: client!wi.a (II)V:
owner: "GameShell" owner: "GameShell"
name: "setFramesPerSecond" name: "setFramesPerSecond"

Loading…
Cancel
Save