Browse Source

forgot to include these pt. 2

pbs
Jake Probst 5 years ago
parent
commit
e97ae1ffb5
  1. 26
      src/login/entities.rs

26
src/login/entities.rs

@ -1,20 +1,34 @@
use std::time::SystemTime;
use libpso::character::settings;
use libpso::character::character;
use libpso::character::guildcard;
pub struct UserAccount {
pub id: i32,
pub id: u32,
pub username: String,
pub password: String,
pub guildcard: Option<i32>,
pub team_id: Option<i32>,
pub guildcard: Option<u32>,
pub team_id: Option<u32>,
pub banned: bool,
pub muted_until: SystemTime,
pub created_at: SystemTime,
}
pub struct UserSettings {
pub id: i32,
pub user_id: i32,
pub id: u32,
pub user_id: u32,
pub settings: settings::UserSettings,
}
pub struct Character {
pub id: u32,
pub user_id: u32,
pub character: character::Character,
}
pub struct GuildCardData {
pub id: u32,
pub user_id: u32,
pub guildcard: guildcard::GuildCardData,
}
Loading…
Cancel
Save