From 0b80a107bd76a6b8747b5b6d0bd9ccf81240068e Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 22 Apr 2022 00:35:01 +0000 Subject: [PATCH] GuildcardRecv struct --- src/packet/ship.rs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index d65153f..0995449 100644 --- a/src/packet/ship.rs +++ b/src/packet/ship.rs @@ -644,4 +644,17 @@ pub struct KeyboardConfig { #[pso_packet(0x5ED)] pub struct GamepadConfig { pub gamepad_config: [u8; 56], -} \ No newline at end of file +} + +// same struct as libpso::packet::messages::GuildcardRecv +#[pso_packet(0x4E8)] +pub struct GuildcardAccept { + id: u32, + name: [u16; 0x18], + team: [u16; 0x10], + desc: [u16; 0x58], + one: u8, + language: u8, + section_id: u8, + class: u8, +}