Skip to content

Commit c853e9f

Browse files
committed
Updating label naming and alias addition
1 parent 832462e commit c853e9f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

addons/libs/packets/fields.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,9 @@ fields.outgoing[0x05B] = L{
672672
{ctype='unsigned int', label='Target', fn=id}, -- 04
673673
{ctype='unsigned int', label='Option Index'}, -- 08
674674
{ctype='unsigned short', label='Target Index', fn=index}, -- 0C
675-
{ctype='bool', label='Automated Message'}, -- 0E 1 if continuing the current menu, 0 if ending
676-
{ctype='unsigned char', label='_padding'}, -- 0F Upper bits of a Mode short including the previous bool
675+
{ctype='bool', label='Continue', -- 0E Determines which mode the menu uses
676+
alias='Automated Message'},
677+
{ctype='unsigned char', label='_padding' const=0}, -- 0F
677678
{ctype='unsigned short', label='Zone', fn=zone}, -- 10
678679
{ctype='unsigned short', label='Menu ID'}, -- 12
679680
}
@@ -688,7 +689,7 @@ fields.outgoing[0x05C] = L{
688689
{ctype='unsigned short', label='Zone'}, -- 18
689690
{ctype='unsigned short', label='Menu ID'}, -- 1A
690691
{ctype='unsigned short', label='Target Index', fn=index}, -- 1C
691-
{ctype='unsigned char', label='Mode', const=1}, -- 1E
692+
{ctype='bool', label='Continue', const=true}, -- 1E Always set for warp requests
692693
{ctype='unsigned char', label='Rotation'}, -- 1F
693694
}
694695

@@ -3436,7 +3437,7 @@ fields.incoming[0x0AC] = L{
34363437
}
34373438

34383439
fields.incoming[0x0AE] = L{
3439-
{ctype='data[7]', label='Mounts'}, -- 04
3440+
{ctype='data[7]', label='Mounts'}, -- 04
34403441
}
34413442

34423443
-- Moblin Maze Mongers information

0 commit comments

Comments
 (0)