mirror of
https://github.com/redstrate/Auracite.git
synced 2025-04-25 22:07:45 +00:00
There's some data we want to save that's not available on the Lodestone, for example playtime information. Now you can install the Dalamud plugin (not currently distributed) to save playtime information. In the future, we can expand this to all sorts of interesting things!
26 lines
534 B
Rust
26 lines
534 B
Rust
use serde::Serialize;
|
|
|
|
#[derive(Default, Serialize)]
|
|
pub struct Currencies {
|
|
pub gil: i64,
|
|
}
|
|
|
|
#[derive(Default, Serialize)]
|
|
pub struct CharacterData {
|
|
pub name: String,
|
|
pub world: String,
|
|
pub data_center: String,
|
|
pub race: String,
|
|
pub subrace: String,
|
|
pub gender: String,
|
|
pub city_state: String,
|
|
pub nameday: String,
|
|
pub guardian: String,
|
|
pub currencies: Currencies,
|
|
pub playtime: String,
|
|
|
|
#[serde(skip)]
|
|
pub face_url: String,
|
|
#[serde(skip)]
|
|
pub portrait_url: String,
|
|
}
|