Refactor more code

Mostly code referenced by the Protocol class.

Signed-off-by: Graham <gpe@openrs2.org>
Graham 2 years ago
parent 67f3dbaf57
commit 3e39875b8c
  1. 266
      share/deob/map/client.yaml

@ -426,7 +426,7 @@ fields:
owner: "Static1" owner: "Static1"
name: "aBoolean8" name: "aBoolean8"
client!af.A [I: client!af.A [I:
owner: "Static1" owner: "Camera"
name: "anIntArray13" name: "anIntArray13"
client!af.B [[I: client!af.B [[I:
owner: "AnimBase" owner: "AnimBase"
@ -435,7 +435,7 @@ fields:
owner: "SceneGraph" owner: "SceneGraph"
name: "tiles" name: "tiles"
client!af.D [I: client!af.D [I:
owner: "Static1" owner: "Camera"
name: "anIntArray14" name: "anIntArray14"
client!af.E Lclient!fh;: client!af.E Lclient!fh;:
owner: "CursorTypeList" owner: "CursorTypeList"
@ -2011,7 +2011,7 @@ fields:
name: "sounds" name: "sounds"
client!eg.G I: client!eg.G I:
owner: "SeqType" owner: "SeqType"
name: "anInt1243" name: "priority"
client!eg.H I: client!eg.H I:
owner: "MidiPlayer" owner: "MidiPlayer"
name: "songFileId" name: "songFileId"
@ -4485,8 +4485,8 @@ fields:
owner: "TextureOp34" owner: "TextureOp34"
name: "anInt2621" name: "anInt2621"
client!jj.bb [Z: client!jj.bb [Z:
owner: "Static3" owner: "Camera"
name: "aBooleanArray13" name: "shakeEnabled"
client!jj.db [S: client!jj.db [S:
owner: "TextureOp34" owner: "TextureOp34"
name: "aShortArray38" name: "aShortArray38"
@ -6958,7 +6958,7 @@ fields:
name: "anInt3715" name: "anInt3715"
client!oc.D I: client!oc.D I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3717" name: "level"
client!oc.E D: client!oc.E D:
owner: "ProjAnim" owner: "ProjAnim"
name: "aDouble4" name: "aDouble4"
@ -6973,13 +6973,13 @@ fields:
name: "aBoolean268" name: "aBoolean268"
client!oc.I I: client!oc.I I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3719" name: "startLoop"
client!oc.J I: client!oc.J I:
owner: "ProjAnim" owner: "ProjAnim"
name: "spotAnimId" name: "spotAnimId"
client!oc.L Lclient!eg;: client!oc.L Lclient!eg;:
owner: "ProjAnim" owner: "ProjAnim"
name: "aClass46_2" name: "seqType"
client!oc.M D: client!oc.M D:
owner: "ProjAnim" owner: "ProjAnim"
name: "aDouble6" name: "aDouble6"
@ -6997,7 +6997,7 @@ fields:
name: "aDouble7" name: "aDouble7"
client!oc.S I: client!oc.S I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3726" name: "y"
client!oc.T I: client!oc.T I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3727" name: "anInt3727"
@ -7009,7 +7009,7 @@ fields:
name: "aDouble9" name: "aDouble9"
client!oc.W I: client!oc.W I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3728" name: "zFine"
client!oc.Y I: client!oc.Y I:
owner: "ProjAnim" owner: "ProjAnim"
name: "minY" name: "minY"
@ -7024,7 +7024,7 @@ fields:
name: "anInt3731" name: "anInt3731"
client!oc.o I: client!oc.o I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3707" name: "endLoop"
client!oc.p [I: client!oc.p [I:
owner: "SpriteLoader" owner: "SpriteLoader"
name: "xOffsets" name: "xOffsets"
@ -7036,7 +7036,7 @@ fields:
name: "anInt3708" name: "anInt3708"
client!oc.s I: client!oc.s I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3709" name: "xFine"
client!oc.u I: client!oc.u I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3711" name: "anInt3711"
@ -7045,7 +7045,7 @@ fields:
name: "aBoolean267" name: "aBoolean267"
client!oc.x I: client!oc.x I:
owner: "ProjAnim" owner: "ProjAnim"
name: "anInt3713" name: "targetEntity"
client!oc.y D: client!oc.y D:
owner: "ProjAnim" owner: "ProjAnim"
name: "aDouble3" name: "aDouble3"
@ -10590,7 +10590,7 @@ fields:
owner: "Static7" owner: "Static7"
name: "prevFocus" name: "prevFocus"
client!vb.S [I: client!vb.S [I:
owner: "Static7" owner: "Camera"
name: "anIntArray625" name: "anIntArray625"
client!vb.U I: client!vb.U I:
owner: "TextureOp12" owner: "TextureOp12"
@ -10647,7 +10647,7 @@ fields:
owner: "LightType" owner: "LightType"
name: "anInt5484" name: "anInt5484"
client!vd.i [I: client!vd.i [I:
owner: "Static7" owner: "Camera"
name: "anIntArray626" name: "anIntArray626"
client!vd.k I: client!vd.k I:
owner: "Static7" owner: "Static7"
@ -10756,7 +10756,7 @@ fields:
name: "translateX" name: "translateX"
client!vh.Fb Z: client!vh.Fb Z:
owner: "LocType" owner: "LocType"
name: "aBoolean385" name: "breakRouteFinding"
client!vh.G I: client!vh.G I:
owner: "LocType" owner: "LocType"
name: "soundVolume" name: "soundVolume"
@ -11263,7 +11263,7 @@ fields:
name: "showObjCount" name: "showObjCount"
client!wf.Gc [Ljava/lang/String;: client!wf.Gc [Ljava/lang/String;:
owner: "Component" owner: "Component"
name: "aStringArray44" name: "objOps"
client!wf.H [I: client!wf.H [I:
owner: "Component" owner: "Component"
name: "anIntArray658" name: "anIntArray658"
@ -12063,11 +12063,11 @@ methods:
28: "redDelta" 28: "redDelta"
40: "greenDelta" 40: "greenDelta"
client!ab.a (Z)V: client!ab.a (Z)V:
owner: "Static8" owner: "Camera"
name: "method11" name: "smoothReset"
arguments: {} arguments: {}
locals: locals:
3: "local3" 3: "index"
client!ac.<init> ()V: client!ac.<init> ()V:
owner: "TextureOp28" owner: "TextureOp28"
name: "<init>" name: "<init>"
@ -19270,7 +19270,7 @@ methods:
2: "arg1" 2: "arg1"
3: "arg2" 3: "arg2"
locals: locals:
35: "local35" 35: "targetVerb"
160: "local160" 160: "local160"
162: "local162" 162: "local162"
172: "local172" 172: "local172"
@ -19284,7 +19284,7 @@ methods:
373: "action" 373: "action"
444: "i" 444: "i"
455: "action" 455: "action"
505: "local505" 505: "objOps"
517: "i" 517: "i"
533: "action" 533: "action"
704: "i" 704: "i"
@ -21653,8 +21653,8 @@ methods:
10: "end2" 10: "end2"
16: "start2" 16: "start2"
client!gn.a (IBI)V: client!gn.a (IBI)V:
owner: "Static17" owner: "Camera"
name: "method1654" name: "forceAngle"
arguments: arguments:
0: "arg0" 0: "arg0"
2: "arg1" 2: "arg1"
@ -23576,8 +23576,8 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!il.b (B)V: client!il.b (B)V:
owner: "Static20" owner: "Camera"
name: "method1924" name: "incX"
arguments: {} arguments: {}
locals: {} locals: {}
client!il.b (I)V: client!il.b (I)V:
@ -23935,7 +23935,7 @@ methods:
16: "node" 16: "node"
22: "projAnim" 22: "projAnim"
61: "npc" 61: "npc"
113: "local113" 113: "id"
118: "player" 118: "player"
client!jb.a (I)V: client!jb.a (I)V:
owner: "Component" owner: "Component"
@ -24121,8 +24121,8 @@ methods:
169: "local169" 169: "local169"
182: "local182" 182: "local182"
client!je.a (I)V: client!je.a (I)V:
owner: "Static21" owner: "Camera"
name: "method2007" name: "incY"
arguments: {} arguments: {}
locals: {} locals: {}
client!je.a (II)V: client!je.a (II)V:
@ -24318,8 +24318,8 @@ methods:
2109: "x" 2109: "x"
2116: "z" 2116: "z"
2157: "loc" 2157: "loc"
2208: "id" 2208: "value"
2212: "value" 2212: "id"
2227: "groupId" 2227: "groupId"
2239: "volume" 2239: "volume"
2256: "volume" 2256: "volume"
@ -24374,8 +24374,8 @@ methods:
3024: "verifyId" 3024: "verifyId"
3028: "xAngle" 3028: "xAngle"
3032: "id" 3032: "id"
3053: "x" 3053: "z"
3057: "z" 3057: "x"
3061: "levelAndClearMovementQueue" 3061: "levelAndClearMovementQueue"
3091: "id" 3091: "id"
3095: "seqId" 3095: "seqId"
@ -24498,7 +24498,7 @@ methods:
5167: "j" 5167: "j"
5214: "message" 5214: "message"
5282: "verifyId" 5282: "verifyId"
5286: "local5286" 5286: "index"
5290: "local5290" 5290: "local5290"
5294: "local5294" 5294: "local5294"
5298: "local5298" 5298: "local5298"
@ -24779,8 +24779,8 @@ methods:
33: "bytes" 33: "bytes"
37: "newType" 37: "newType"
client!jk.a (I)V: client!jk.a (I)V:
owner: "Static21" owner: "InterfaceList"
name: "method2063" name: "closeModal"
arguments: {} arguments: {}
locals: locals:
14: "subInterface" 14: "subInterface"
@ -27486,8 +27486,8 @@ methods:
153: "local153" 153: "local153"
166: "local166" 166: "local166"
client!lf.c (IIIIII)V: client!lf.c (IIIIII)V:
owner: "Static23" owner: "Camera"
name: "method2536" name: "lookAt"
arguments: arguments:
1: "arg0" 1: "arg0"
2: "arg1" 2: "arg1"
@ -28339,11 +28339,11 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!li.a (B)V: client!li.a (B)V:
owner: "Static24" owner: "Camera"
name: "method2563" name: "reset"
arguments: {} arguments: {}
locals: locals:
7: "local7" 7: "index"
client!li.a (IIIB)Lclient!vg;: client!li.a (IIIB)Lclient!vg;:
owner: "SpotAnimType" owner: "SpotAnimType"
name: "method2569" name: "method2569"
@ -31864,8 +31864,8 @@ methods:
28: "buffer" 28: "buffer"
36: "pointSizeMax" 36: "pointSizeMax"
client!nf.a (I)V: client!nf.a (I)V:
owner: "Static26" owner: "Camera"
name: "method2973" name: "decY"
arguments: {} arguments: {}
locals: {} locals: {}
client!nf.a (IIIII)V: client!nf.a (IIIII)V:
@ -32845,19 +32845,19 @@ methods:
owner: "ProjAnim" owner: "ProjAnim"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "spotAnimId"
1: "arg1" 1: "level"
2: "arg2" 2: "xFine"
3: "arg3" 3: "zFine"
4: "arg4" 4: "y"
5: "arg5" 5: "startLoop"
6: "arg6" 6: "endLoop"
7: "arg7" 7: "arg7"
8: "arg8" 8: "arg8"
9: "arg9" 9: "targetEntity"
10: "arg10" 10: "arg10"
locals: locals:
61: "local61" 61: "seqId"
client!oc.a (BI)Z: client!oc.a (BI)Z:
owner: "Static27" owner: "Static27"
name: "setBuildArea" name: "setBuildArea"
@ -32881,7 +32881,7 @@ methods:
3: "arg3" 3: "arg3"
4: "arg4" 4: "arg4"
locals: locals:
11: "local11" 11: "model"
client!oc.a (IIIIIIIIJILclient!ne;)V: client!oc.a (IIIIIIIIJILclient!ne;)V:
owner: "ProjAnim" owner: "ProjAnim"
name: "method3805" name: "method3805"
@ -32898,15 +32898,15 @@ methods:
9: "arg9" 9: "arg9"
10: "arg10" 10: "arg10"
locals: locals:
7: "local7" 7: "model"
client!oc.a (ILclient!vg;)V: client!oc.a (ILclient!vg;)V:
owner: "ProjAnim" owner: "ProjAnim"
name: "method3106" name: "method3106"
arguments: arguments:
1: "arg0" 1: "model"
locals: locals:
4: "local4" 4: "glModel"
51: "local51" 51: "softwareModel"
client!oc.a (Z)Lclient!vg;: client!oc.a (Z)Lclient!vg;:
owner: "ProjAnim" owner: "ProjAnim"
name: "getModel" name: "getModel"
@ -32921,17 +32921,17 @@ methods:
locals: {} locals: {}
client!oc.b (IIIII)V: client!oc.b (IIIII)V:
owner: "ProjAnim" owner: "ProjAnim"
name: "method3105" name: "setTarget"
arguments: arguments:
1: "arg0" 1: "targetY"
2: "arg1" 2: "targetXFine"
3: "arg2" 3: "loop"
4: "arg3" 4: "targetZFine"
locals: locals:
14: "local14" 14: "dx"
21: "local21" 21: "dz"
30: "local30" 30: "distance"
69: "local69" 69: "remainingLoops"
client!od.a ()V: client!od.a ()V:
owner: "LightingManager" owner: "LightingManager"
name: "method3110" name: "method3110"
@ -35413,8 +35413,8 @@ methods:
1650: "lowPrioritySource" 1650: "lowPrioritySource"
1660: "lowPriorityComponent" 1660: "lowPriorityComponent"
1717: "level" 1717: "level"
1797: "local1797" 1797: "x"
1809: "local1809" 1809: "z"
2012: "local2012" 2012: "local2012"
2019: "local2019" 2019: "local2019"
2037: "local2037" 2037: "local2037"
@ -36496,9 +36496,9 @@ methods:
343: "phrase" 343: "phrase"
450: "spotAnimId" 450: "spotAnimId"
454: "yAndDelay" 454: "yAndDelay"
456: "local456" 456: "play"
553: "local553" 553: "seqId"
562: "local562" 562: "seqType"
670: "damage" 670: "damage"
674: "type" 674: "type"
client!qh.a (Z)V: client!qh.a (Z)V:
@ -37700,7 +37700,7 @@ methods:
185: "local185" 185: "local185"
187: "local187" 187: "local187"
189: "local189" 189: "local189"
191: "local191" 191: "index"
237: "local237" 237: "local237"
328: "local328" 328: "local328"
363: "local363" 363: "local363"
@ -41417,8 +41417,8 @@ methods:
17: "stop" 17: "stop"
19: "i" 19: "i"
client!tj.e (I)V: client!tj.e (I)V:
owner: "Static33" owner: "Camera"
name: "method3007" name: "decX"
arguments: {} arguments: {}
locals: {} locals: {}
client!tk.a (III)V: client!tk.a (III)V:
@ -42514,9 +42514,9 @@ methods:
250: "delay" 250: "delay"
266: "spotAnimId" 266: "spotAnimId"
270: "yAndDelay" 270: "yAndDelay"
272: "local272" 272: "play"
358: "local358" 358: "seqId"
365: "type" 365: "seqType"
client!ud.<init> (II)V: client!ud.<init> (II)V:
owner: "Resampler" owner: "Resampler"
name: "<init>" name: "<init>"
@ -45223,9 +45223,9 @@ methods:
owner: "Static37" owner: "Static37"
name: "method4661" name: "method4661"
arguments: arguments:
0: "arg0" 0: "x"
1: "arg1" 3: "z"
3: "arg2" 1: "miniMap"
locals: {} locals: {}
client!wb.a (IIIJ)Z: client!wb.a (IIIJ)Z:
owner: "SceneGraph" owner: "SceneGraph"
@ -45565,8 +45565,8 @@ methods:
owner: "Static37" owner: "Static37"
name: "method4736" name: "method4736"
arguments: arguments:
1: "arg0" 1: "createdComponentId"
2: "arg1" 2: "componentId"
locals: {} locals: {}
client!wf.a (B[Lclient!ma;)Lclient!gl;: client!wf.a (B[Lclient!ma;)Lclient!gl;:
owner: "Component" owner: "Component"
@ -45649,18 +45649,18 @@ methods:
162: "local162" 162: "local162"
173: "local173" 173: "local173"
181: "local181" 181: "local181"
217: "local217" 217: "events"
282: "local282" 282: "local282"
286: "local286" 286: "local286"
297: "local297" 297: "local297"
309: "local309" 309: "local309"
350: "local350" 350: "local350"
357: "local357" 357: "local357"
399: "local399" 399: "i"
408: "local408" 408: "op"
729: "local729" 729: "local729"
743: "local743" 743: "i"
750: "local750" 750: "op"
808: "local808" 808: "local808"
client!wf.a (Ljava/lang/String;II)V: client!wf.a (Ljava/lang/String;II)V:
owner: "Component" owner: "Component"
@ -45886,8 +45886,8 @@ methods:
27: "bytes" 27: "bytes"
31: "newType" 31: "newType"
client!wh.a (IIIIZII)V: client!wh.a (IIIIZII)V:
owner: "Static37" owner: "Camera"
name: "method4773" name: "moveTo"
arguments: arguments:
0: "arg0" 0: "arg0"
1: "arg1" 1: "arg1"
@ -46014,21 +46014,21 @@ methods:
15: "position" 15: "position"
26: "x" 26: "x"
34: "z" 34: "z"
41: "local41" 41: "targetX"
47: "local47" 47: "targetZ"
51: "local51" 51: "targetEntity"
55: "local55" 55: "spotAnimId"
61: "local61" 61: "y"
67: "local67" 67: "targetY"
71: "local71" 71: "startDelay"
75: "local75" 75: "endDelay"
79: "local79" 79: "local79"
89: "local89" 89: "local89"
126: "local126" 126: "xFine"
130: "local130" 130: "zFine"
134: "local134" 134: "targetXFine"
161: "projAnim" 161: "projAnim"
165: "local165" 165: "targetZFine"
198: "position" 198: "position"
206: "x" 206: "x"
212: "z" 212: "z"
@ -46055,32 +46055,32 @@ methods:
390: "position" 390: "position"
400: "x" 400: "x"
408: "z" 408: "z"
414: "local414" 414: "targetX"
421: "local421" 421: "targetZ"
425: "local425" 425: "sourceEntity"
429: "local429" 429: "targetEntity"
433: "local433" 433: "spotAnimId"
437: "local437" 437: "y"
443: "local443" 443: "targetY"
447: "local447" 447: "startDelay"
451: "local451" 451: "endDelay"
455: "local455" 455: "local455"
465: "local465" 465: "local465"
502: "local502" 502: "targetZFine"
506: "local506" 506: "targetXFine"
510: "local510" 510: "xFine"
514: "local514" 514: "zFine"
528: "local528" 528: "local528"
534: "local534" 534: "local534"
538: "local538" 538: "id"
542: "local542" 542: "entity"
549: "local549" 549: "local549"
559: "local559" 559: "id"
581: "local581" 581: "basType"
607: "local607" 607: "local607"
612: "local612" 612: "sine"
619: "local619" 619: "local619"
624: "local624" 624: "cosine"
634: "local634" 634: "local634"
682: "projAnim" 682: "projAnim"
715: "position" 715: "position"
@ -46092,7 +46092,7 @@ methods:
765: "zFine" 765: "zFine"
771: "xFine" 771: "xFine"
789: "spotAnim" 789: "spotAnim"
804: "local804" 804: "seqId"
814: "shapeAndAngle" 814: "shapeAndAngle"
818: "shape" 818: "shape"
822: "angle" 822: "angle"
@ -46120,20 +46120,20 @@ methods:
1022: "position" 1022: "position"
1030: "x" 1030: "x"
1036: "z" 1036: "z"
1042: "local1042" 1042: "targetX"
1048: "local1048" 1048: "targetZ"
1052: "local1052" 1052: "targetEntity"
1056: "local1056" 1056: "spotAnimId"
1062: "local1062" 1062: "y"
1068: "local1068" 1068: "targetY"
1072: "local1072" 1072: "startDelay"
1076: "local1076" 1076: "endDelay"
1080: "local1080" 1080: "local1080"
1084: "local1084" 1084: "local1084"
1128: "local1128" 1128: "zFine"
1134: "local1134" 1134: "targetXFine"
1140: "local1140" 1140: "targetZFine"
1146: "local1146" 1146: "xFine"
1173: "projAnim" 1173: "projAnim"
1203: "position" 1203: "position"
1212: "x" 1212: "x"

Loading…
Cancel
Save