1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-05-01 16:37:45 +00:00
auracite/src/data.rs

39 lines
817 B
Rust
Raw Normal View History

2024-09-29 17:45:53 -04:00
use serde::Serialize;
#[derive(Default, Serialize)]
pub struct Currencies {
2024-10-05 12:26:12 -04:00
pub gil: u32,
2024-09-29 17:45:53 -04:00
}
#[derive(Default, Serialize)]
pub struct Appearance {
pub race: String,
pub subrace: String,
pub gender: String,
pub height: i32,
pub bust_size: i32
}
2024-09-29 17:45:53 -04:00
#[derive(Default, Serialize)]
pub struct CharacterData {
pub name: String,
pub world: String,
pub data_center: String,
pub city_state: String,
pub nameday: String,
pub guardian: String,
pub currencies: Currencies,
pub playtime: String,
pub appearance: Appearance,
pub is_battle_mentor: bool,
pub is_trade_mentor: bool,
pub is_novice: bool,
pub is_returner: bool,
pub player_commendations: i32,
2024-09-29 17:45:53 -04:00
#[serde(skip)]
pub face_url: String,
#[serde(skip)]
pub portrait_url: String,
}