1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-04-25 22:07:45 +00:00
auracite/src/data.rs
Joshua Goins 39108207f6 Add Dalamud plugin to collect additional data in-game
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!
2024-10-05 12:10:31 -04:00

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,
}