dispatch tables done, i hope
This commit is contained in:
parent
30e5904527
commit
0024d2447f
1 changed files with 10 additions and 4 deletions
|
@ -72,7 +72,7 @@ my $read_dispatch = {
|
||||||
0x68 => \&_read_window_items,
|
0x68 => \&_read_window_items,
|
||||||
0x69 => \&_read_progress_bar,
|
0x69 => \&_read_progress_bar,
|
||||||
0x6A => \&_read_transaction,
|
0x6A => \&_read_transaction,
|
||||||
0x6B => \&_read_creative_inventory_action,
|
0x6B => \&_read_creative_inventory_action, # CTS?
|
||||||
# 0x6C => Unused,
|
# 0x6C => Unused,
|
||||||
# ...
|
# ...
|
||||||
# 0x81 => Unused,
|
# 0x81 => Unused,
|
||||||
|
@ -86,7 +86,7 @@ my $read_dispatch = {
|
||||||
# 0xCA => Unused,
|
# 0xCA => Unused,
|
||||||
# ...
|
# ...
|
||||||
# 0xFD => Unused,
|
# 0xFD => Unused,
|
||||||
0xFE => \&_read_server_list_ping,
|
# 0xFE => \&_read_server_list_ping,
|
||||||
0xFF => \&_read_disconnect,
|
0xFF => \&_read_disconnect,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -112,8 +112,14 @@ my $write_dispatch = {
|
||||||
# stance_update => \&_write_stance_update,
|
# stance_update => \&_write_stance_update,
|
||||||
entity_velocity => \&_write_entity_velocity,
|
entity_velocity => \&_write_entity_velocity,
|
||||||
attach_entity => \&_write_attach_entity,
|
attach_entity => \&_write_attach_entity,
|
||||||
# multi_block_change => \&_write_multi_block_change
|
# multi_block_change => \&_write_multi_block_change, may need this don't know
|
||||||
|
block_change => \&_write_block_change,
|
||||||
|
window_click => \&_write_window_click,
|
||||||
|
transaction => \&_write_transaction,
|
||||||
|
creative_inventory_action => \&_write_creative_inventory_action, # STC?
|
||||||
|
update_sign => \&_write_update_sign,
|
||||||
|
increment_statistic => \&_write_increment_statistic,
|
||||||
|
server_list_ping => \&_write_server_list_ping,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue