14 lines
392 B
Python
14 lines
392 B
Python
from bta_proxy.datainputstream import AsyncDataInputStream
|
|
from bta_proxy.itemstack import ItemStack
|
|
from .base import Packet
|
|
|
|
class Packet102WindowClick(Packet, packet_id=102):
|
|
FIELDS = [
|
|
('window_id', 'byte'),
|
|
('action', 'byte'),
|
|
('size', 'byte'),
|
|
('args', ('bytes', 'size')),
|
|
('action_id', 'short'),
|
|
('item', 'itemstack_optional')
|
|
]
|