## rAthena References: ## - PACKET_ZC_INVENTORY_END ## - clif_inventoryEnd class_name InventoryEndPacket extends Packet const HEADER := 0x0b0b const BYTE_LENGTH := 4 ## Byte Type: u8 ## Byte Length: 1 var inventory_type: int ## Byte Type: u8 var flag: int static func from_bytes(bytes: PackedByteArray) -> InventoryEndPacket: var packet = InventoryEndPacket.new() packet.inventory_type = bytes.decode_u8(2) packet.flag = bytes.decode_u8(3) return packet