summaryrefslogtreecommitdiff
path: root/packets/map_server/update_party_invitation_state_packet.gd
blob: 5efb064ae0e6c5667a3c501b5f1a40b19b279d54 (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:
## - ZC_PARTY_CONFIG
## - clif_partyinvitationstate
class_name UpdatePartyInvitationState
extends Packet


const HEADER := 0x02c9
const BYTE_LENGTH := 3


## Byte Type: u8
## Byte Length: 1
var deny_invites: bool


static func from_bytes(bytes: PackedByteArray) -> UpdatePartyInvitationState:
	var packet = UpdatePartyInvitationState.new()
	
	packet.deny_invites = bytes.decode_u8(2)
	
	return packet