From 08809eeb1db043ac72ca8a64f74e9f5ed6a54631 Mon Sep 17 00:00:00 2001 From: mekolat Date: Fri, 22 May 2015 13:09:14 -0400 Subject: add map mask support --- tools/protocol.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/protocol.py b/tools/protocol.py index 23a0719..f7be6e5 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4703,7 +4703,20 @@ def build_context(): Send mob walkpath data to client ''', ) - # 0x0226 define='SMSG_MAP_MASK', + map_user.s(0x0226, 'send map mask', + define='SMSG_MAP_MASK', + fixed=[ + at(0, u16, 'packet id'), + at(2, u32, 'mask'), + at(6, u32, 'unused'), + ], + fixed_size=10, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Set map mask + ''', + ) map_user.s(0x0227, 'change map music', define='SMSG_MAP_MUSIC', head=[ -- cgit v1.2.3-60-g2f50