2025-02-18 22:55:33 +01:00
|
|
|
use bytemuck::{Pod, Zeroable};
|
|
|
|
|
use macros::RmcSerialize;
|
2025-09-21 15:59:27 +02:00
|
|
|
use rnex_core::rmc::structures::qbuffer::QBuffer;
|
2025-02-18 22:55:33 +01:00
|
|
|
|
|
|
|
|
#[derive(RmcSerialize, Debug)]
|
|
|
|
|
#[rmc_struct(0)]
|
2026-04-06 13:35:55 +00:00
|
|
|
pub struct UploadCompetitionData{
|
|
|
|
|
pub unk_1/*?*/: u32,
|
|
|
|
|
pub splatfest_id: u32,
|
|
|
|
|
pub unk_2/*?*/: u32,
|
|
|
|
|
pub score: u32,
|
|
|
|
|
pub team_id: u8,
|
|
|
|
|
pub team_win: u8,
|
|
|
|
|
pub is_first_upload: bool,
|
|
|
|
|
pub appdata: QBuffer,
|
2025-02-18 22:55:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[derive(Copy, Clone, Pod, Zeroable)]
|
|
|
|
|
#[repr(C)]
|
2026-01-20 20:26:44 +01:00
|
|
|
struct UserData {
|
2025-02-18 22:55:33 +01:00
|
|
|
name: [u16; 0x10],
|
|
|
|
|
}
|