diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/protocol.py | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tools/protocol.py b/tools/protocol.py index 86b625f..eae8bb2 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4679,7 +4679,25 @@ def build_context(): ) # 0x0226 define='SMSG_MAP_MASK', # 0x0227 define='SMSG_MAP_MUSIC', - # 0x0228 define='SMSG_NPC_CHANGETITLE', + map_user.s(0x0228, 'npc change title', + define='SMSG_NPC_CHANGETITLE', + head=[ + at(0, u16, 'packet id'), + at(2, u16, 'packet length'), + at(4, block_id, 'npc id'), + at(8, u16, 'string length'), + ], + head_size=10, + repeat=[ + at(0, u8, 'c'), + ], + repeat_size=1, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Change npc title + ''', + ) # TOC_LOGINCHAR # login char |