blob: 81f918c37a2785b016a489ec568288eb30130bd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
## rAthena References:
class_name CharacterServerKeepAlivePacket
extends Packet
const HEADER := 0x0187
const BYTE_LENGTH := 6
## Byte Type: u32
## Byte Length: 4
var account_id: int
func to_bytes():
var payload = PackedByteArray([])
payload.resize(4)
# rAthena never reads this value, so just set it to 0
payload.encode_u32(0, 0)
return get_header() + payload
|