blob: 404f4a113d6c1592e57660f19eafcb4c3d9ab6dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
## rAthena References:
## - ZC_SKILLINFO_LIST
## - clif_skillinfoblock
class_name UpdateSkillTreePacket
extends Packet
const HEADER := 0x010f
const BYTE_LENGTH := 0
## Byte Type: u16
## Byte Length: 2
var packet_length: int
var object_type: Array#Array[SkillInformation]
# TODO
static func from_bytes(bytes: PackedByteArray) -> UpdateSkillTreePacket:
var packet = UpdateSkillTreePacket.new()
packet.packet_length = bytes.decode_u16(2)
return packet
|