blob: db6ff02a320956309b0c5e6626d0939dd18ba1fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
## rAthena References:
## - ZC_CLOSE_DIALOG
## - PACKET_ZC_CLOSE_DIALOG
## - clif_scriptclose
class_name CloseDialogButtonPacket
extends Packet
const HEADER := 0x00b6
const BYTE_LENGTH := 6
## Byte Type: u32
## Byte Length: 4
var entity_id: int
static func from_bytes(bytes: PackedByteArray) -> CloseDialogButtonPacket:
var packet = CloseDialogButtonPacket.new()
packet.entity_id = bytes.decode_u32(2)
return packet
|