diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-05-13 13:59:10 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-13 13:59:10 -0400 |
commit | 4c06d090c1c3f3c3e827b876187f3b0dae89b14a (patch) | |
tree | 385db2606ce5c1f40e7d1e16a521b37b59f5c2c6 /tools | |
parent | f9df1a84b4486eefc65fb91287c2c399531e5b37 (diff) | |
download | tmwa-4c06d090c1c3f3c3e827b876187f3b0dae89b14a.tar.gz tmwa-4c06d090c1c3f3c3e827b876187f3b0dae89b14a.tar.bz2 tmwa-4c06d090c1c3f3c3e827b876187f3b0dae89b14a.tar.xz tmwa-4c06d090c1c3f3c3e827b876187f3b0dae89b14a.zip |
add packet SMSG_MAP_SET_TILES_TYPE [0x0231]
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/protocol.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/protocol.py b/tools/protocol.py index 5a9e05c..7a5542a 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4796,6 +4796,26 @@ def build_context(): Execute a client command remotely ''', ) + map_user.s(0x0231, 'send area collision', + define='SMSG_MAP_SET_TILES_TYPE', + fixed=[ + at(0, u16, 'packet id'), + at(2, u16, 'x1'), + at(4, u16, 'y1'), + at(6, u16, 'x2'), + at(8, u16, 'y2'), + at(10, u32, 'mask'), + at(14, u32, 'unused layer'), + at(18, map_name, 'map'), + ], + fixed_size=34, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Set updated collision for a square area + ''', + ) + # TOC_LOGINCHAR # login char |