Refactor inbound packet reading methods

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 991158f8a9
commit 08e41fc31c
  1. 198
      share/deob/map/client.yaml

@ -711,8 +711,8 @@ fields:
owner: "Class17" owner: "Class17"
name: "aByteArray4" name: "aByteArray4"
client!be.j [I: client!be.j [I:
owner: "Static1" owner: "PathingEntity"
name: "anIntArray27" name: "ANGLES"
client!bf.a [I: client!bf.a [I:
owner: "Class18" owner: "Class18"
name: "anIntArray28" name: "anIntArray28"
@ -777,8 +777,8 @@ fields:
owner: "Preferences" owner: "Preferences"
name: "antiAliasingMode" name: "antiAliasingMode"
client!bh.i I: client!bh.i I:
owner: "Static1" owner: "Protocol"
name: "anInt1052" name: "length"
client!bh.j I: client!bh.j I:
owner: "Static1" owner: "Static1"
name: "anInt1053" name: "anInt1053"
@ -1098,8 +1098,8 @@ fields:
owner: "Static1" owner: "Static1"
name: "anInt549" name: "anInt549"
client!ce.g I: client!ce.g I:
owner: "Static1" owner: "Protocol"
name: "anInt552" name: "opcode"
client!cf.U F: client!cf.U F:
owner: "Static1" owner: "Static1"
name: "aFloat20" name: "aFloat20"
@ -1653,8 +1653,8 @@ fields:
owner: "Class11_Sub2" owner: "Class11_Sub2"
name: "anInt953" name: "anInt953"
client!de.x I: client!de.x I:
owner: "Static2" owner: "client"
name: "anInt954" name: "loop"
client!de.y I: client!de.y I:
owner: "Class11_Sub2" owner: "Class11_Sub2"
name: "anInt955" name: "anInt955"
@ -3486,8 +3486,8 @@ fields:
owner: "TextureOp1" owner: "TextureOp1"
name: "anInt2227" name: "anInt2227"
client!hk.ab Lclient!wa;: client!hk.ab Lclient!wa;:
owner: "Static3" owner: "Protocol"
name: "aClass4_Sub10_Sub1_1" name: "outboundBuffer"
client!hk.bb I: client!hk.bb I:
owner: "TextureOp1" owner: "TextureOp1"
name: "anInt2229" name: "anInt2229"
@ -4425,8 +4425,8 @@ fields:
owner: "Static3" owner: "Static3"
name: "aClass112_26" name: "aClass112_26"
client!jf.d Lclient!eo;: client!jf.d Lclient!eo;:
owner: "Static3" owner: "Protocol"
name: "aClass52_7" name: "socket"
client!jh.a Lclient!vc;: client!jh.a Lclient!vc;:
owner: "Class96" owner: "Class96"
name: "aClass53_3" name: "aClass53_3"
@ -4668,8 +4668,8 @@ fields:
owner: "Static4" owner: "Static4"
name: "aBooleanArrayArray3" name: "aBooleanArrayArray3"
client!ka.a [I: client!ka.a [I:
owner: "Static4" owner: "Protocol"
name: "anIntArray242" name: "PACKET_LENGTHS"
client!ka.d I: client!ka.d I:
owner: "Static4" owner: "Static4"
name: "anInt2747" name: "anInt2747"
@ -6753,8 +6753,8 @@ fields:
owner: "Inv" owner: "Inv"
name: "inventories" name: "inventories"
client!nj.j Lclient!wa;: client!nj.j Lclient!wa;:
owner: "Static5" owner: "Protocol"
name: "aClass4_Sub10_Sub1_2" name: "inboundBuffer"
client!nj.k [[Lclient!ih;: client!nj.k [[Lclient!ih;:
owner: "Terrain" owner: "Terrain"
name: "aClass4_Sub12ArrayArray2" name: "aClass4_Sub12ArrayArray2"
@ -7615,7 +7615,7 @@ fields:
name: "aFloat102" name: "aFloat102"
client!pk.Y I: client!pk.Y I:
owner: "Protocol" owner: "Protocol"
name: "removed" name: "removedCount"
client!pk.ab I: client!pk.ab I:
owner: "Static5" owner: "Static5"
name: "anInt4197" name: "anInt4197"
@ -8751,8 +8751,8 @@ fields:
owner: "StringNode" owner: "StringNode"
name: "value" name: "value"
client!rk.w [Lclient!fd;: client!rk.w [Lclient!fd;:
owner: "Static6" owner: "PlayerList"
name: "aClass4_Sub10Array1" name: "appearanceCache"
client!rl.o I: client!rl.o I:
owner: "WorldList" owner: "WorldList"
name: "minId" name: "minId"
@ -9099,8 +9099,8 @@ fields:
owner: "Static6" owner: "Static6"
name: "anInt4759" name: "anInt4759"
client!sd.g I: client!sd.g I:
owner: "Static6" owner: "Protocol"
name: "anInt4760" name: "extendedCount"
client!sd.h I: client!sd.h I:
owner: "Static6" owner: "Static6"
name: "anInt4761" name: "anInt4761"
@ -10041,8 +10041,8 @@ fields:
owner: "Class167" owner: "Class167"
name: "anInt5232" name: "anInt5232"
client!u.g [I: client!u.g [I:
owner: "Static7" owner: "Protocol"
name: "anIntArray587" name: "extendedIds"
client!u.h Lclient!fh;: client!u.h Lclient!fh;:
owner: "client" owner: "client"
name: "js5Archive17" name: "js5Archive17"
@ -15714,17 +15714,17 @@ methods:
249: "local249" 249: "local249"
254: "local254" 254: "local254"
client!db.a (I)V: client!db.a (I)V:
owner: "Static12" owner: "Protocol"
name: "method734" name: "readNewNpcInfo"
arguments: {} arguments: {}
locals: locals:
22: "local22" 22: "id"
31: "local31" 31: "created"
49: "local49" 49: "npc"
77: "local77" 77: "local77"
89: "local89" 89: "local89"
102: "local102" 102: "local102"
116: "local116" 116: "extended"
139: "local139" 139: "local139"
client!db.a (IIIIIIII)V: client!db.a (IIIIIIII)V:
owner: "Static12" owner: "Static12"
@ -24191,11 +24191,11 @@ methods:
locals: locals:
3: "local3" 3: "local3"
client!jf.b (I)Z: client!jf.b (I)Z:
owner: "Static21" owner: "Protocol"
name: "method3287" name: "readPacketInternal"
arguments: {} arguments: {}
locals: locals:
15: "local15" 15: "available"
130: "local130" 130: "local130"
180: "local180" 180: "local180"
184: "local184" 184: "local184"
@ -25551,12 +25551,12 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!k.a (I)V: client!k.a (I)V:
owner: "Static22" owner: "Protocol"
name: "method2189" name: "readSelfPlayerInfo"
arguments: {} arguments: {}
locals: locals:
7: "local7" 7: "updated"
19: "local19" 19: "type"
42: "local42" 42: "local42"
54: "local54" 54: "local54"
82: "local82" 82: "local82"
@ -32518,17 +32518,17 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!o.b (B)V: client!o.b (B)V:
owner: "Static26" owner: "Protocol"
name: "method3056" name: "readNpcInfo"
arguments: {} arguments: {}
locals: locals:
13: "local13" 13: "size"
23: "i" 23: "i"
62: "local62" 62: "i"
73: "local73" 73: "id"
77: "local77" 77: "npc"
82: "local82" 82: "updated"
106: "local106" 106: "type"
151: "local151" 151: "local151"
161: "local161" 161: "local161"
201: "local201" 201: "local201"
@ -36492,20 +36492,20 @@ methods:
0: "arg0" 0: "arg0"
locals: {} locals: {}
client!qh.a (IIILclient!f;)V: client!qh.a (IIILclient!f;)V:
owner: "Static30" owner: "Protocol"
name: "method3565" name: "readPlayerExtendedInfo"
arguments: arguments:
0: "arg0" 3: "player"
1: "arg1" 0: "id"
3: "arg2" 1: "flags"
locals: locals:
14: "local14" 14: "local14"
18: "local18" 18: "local18"
43: "local43" 43: "local43"
53: "local53" 53: "local53"
68: "local68" 68: "len"
71: "local71" 71: "bytes"
76: "local76" 76: "buffer"
117: "local117" 117: "local117"
120: "local120" 120: "local120"
123: "local123" 123: "local123"
@ -36756,8 +36756,8 @@ methods:
111: "local111" 111: "local111"
118: "local118" 118: "local118"
152: "local152" 152: "local152"
197: "local197" 197: "key"
594: "local594" 594: "i"
626: "local626" 626: "local626"
906: "local906" 906: "local906"
916: "local916" 916: "local916"
@ -40504,7 +40504,7 @@ methods:
0: "id" 0: "id"
locals: {} locals: {}
client!ta.a (ZI)V: client!ta.a (ZI)V:
owner: "Static33" owner: "Protocol"
name: "readRebuildPacket" name: "readRebuildPacket"
arguments: arguments:
0: "dynamic" 0: "dynamic"
@ -42434,13 +42434,13 @@ methods:
13: "local13" 13: "local13"
68: "local68" 68: "local68"
client!ub.a (I)V: client!ub.a (I)V:
owner: "Static34" owner: "Protocol"
name: "method4269" name: "readPlayerInfoPacket"
arguments: {} arguments: {}
locals: locals:
19: "local19" 19: "i"
34: "local34" 34: "id"
85: "local85" 85: "i"
client!ub.a (I[BZI)Ljava/lang/String;: client!ub.a (I[BZI)Ljava/lang/String;:
owner: "Cp1252Charset" owner: "Cp1252Charset"
name: "decodeString" name: "decodeString"
@ -42522,14 +42522,14 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!uc.f (I)V: client!uc.f (I)V:
owner: "Static35" owner: "Protocol"
name: "method4298" name: "readExtendedNpcInfo"
arguments: {} arguments: {}
locals: locals:
3: "local3" 3: "i"
10: "local10" 10: "id"
14: "local14" 14: "npc"
18: "local18" 18: "flags"
43: "local43" 43: "local43"
49: "local49" 49: "local49"
74: "local74" 74: "local74"
@ -42583,14 +42583,14 @@ methods:
101: "local101" 101: "local101"
116: "local116" 116: "local116"
client!ud.a (I)V: client!ud.a (I)V:
owner: "Static35" owner: "Protocol"
name: "method4308" name: "readPlayerExtendedInfo"
arguments: {} arguments: {}
locals: locals:
13: "local13" 13: "i"
24: "local24" 24: "id"
28: "local28" 28: "player"
32: "local32" 32: "flags"
client!ud.a (IB)I: client!ud.a (IB)I:
owner: "Class170" owner: "Class170"
name: "method4302" name: "method4302"
@ -42965,17 +42965,17 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!ug.a (B)V: client!ug.a (B)V:
owner: "Static35" owner: "Protocol"
name: "method4318" name: "readNewPlayerInfo"
arguments: {} arguments: {}
locals: locals:
18: "local18" 18: "id"
27: "local27" 27: "created"
65: "local65" 65: "player"
75: "local75" 75: "local75"
88: "local88" 88: "local88"
97: "local97" 97: "local97"
102: "local102" 102: "extended"
119: "local119" 119: "local119"
client!ug.a (BLclient!mb;)V: client!ug.a (BLclient!mb;)V:
owner: "Class172" owner: "Class172"
@ -43455,17 +43455,17 @@ methods:
1: "arg0" 1: "arg0"
locals: {} locals: {}
client!va.b (I)V: client!va.b (I)V:
owner: "Static36" owner: "Protocol"
name: "method4406" name: "readPlayerInfo"
arguments: {} arguments: {}
locals: locals:
6: "local6" 6: "size"
23: "local23" 23: "i"
55: "local55" 55: "i"
62: "local62" 62: "id"
66: "local66" 66: "player"
73: "local73" 73: "updated"
94: "local94" 94: "type"
140: "local140" 140: "local140"
150: "local150" 150: "local150"
193: "local193" 193: "local193"
@ -43680,14 +43680,14 @@ methods:
8: "arg7" 8: "arg7"
locals: {} locals: {}
client!ve.b (I)Z: client!ve.b (I)Z:
owner: "Static36" owner: "Protocol"
name: "method4442" name: "readPacket"
arguments: {} arguments: {}
locals: locals:
16: "local16" 16: "ex"
21: "local21" 21: "ex"
63: "local63" 63: "message"
65: "local65" 65: "i"
client!vf.a (BII)V: client!vf.a (BII)V:
owner: "Static36" owner: "Static36"
name: "method4444" name: "method4444"
@ -44417,13 +44417,13 @@ methods:
96: "gl" 96: "gl"
103: "temp" 103: "temp"
client!vl.a (I)V: client!vl.a (I)V:
owner: "Static36" owner: "Protocol"
name: "method4522" name: "readNpcInfoPacket"
arguments: {} arguments: {}
locals: locals:
17: "local17" 17: "i"
28: "local28" 28: "id"
87: "local87" 87: "i"
client!vl.a (IIIII)V: client!vl.a (IIIII)V:
owner: "Static36" owner: "Static36"
name: "method4524" name: "method4524"
@ -46037,7 +46037,7 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!wj.c (B)V: client!wj.c (B)V:
owner: "Static38" owner: "Protocol"
name: "readZonePacket" name: "readZonePacket"
arguments: {} arguments: {}
locals: locals:

Loading…
Cancel
Save