mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
1de94a9979
* Added "migration of migrations" to transfer the data from the __diesel_schema_migrations table to the refinery_schema_history table * Removed all down migrations as refinery does not support down migrations * Changed all diesel up migrations to refinery naming format * Added --sql-log-mode parameter to veloren-server-cli to allow SQL tracing and profiling * Added /disconnect_all_players admin command * Added disconnectall CLI command * Fixes for several potential persistence-related race conditions
36 lines
670 B
Rust
36 lines
670 B
Rust
pub struct Character {
|
|
pub character_id: i64,
|
|
pub player_uuid: String,
|
|
pub alias: String,
|
|
pub waypoint: Option<String>,
|
|
}
|
|
|
|
#[derive(Debug)]
|
|
pub struct Item {
|
|
pub item_id: i64,
|
|
pub parent_container_item_id: i64,
|
|
pub item_definition_id: String,
|
|
pub stack_size: i32,
|
|
pub position: String,
|
|
}
|
|
|
|
pub struct Body {
|
|
pub body_id: i64,
|
|
pub variant: String,
|
|
pub body_data: String,
|
|
}
|
|
|
|
pub struct Skill {
|
|
pub entity_id: i64,
|
|
pub skill: String,
|
|
pub level: Option<i32>,
|
|
}
|
|
|
|
pub struct SkillGroup {
|
|
pub entity_id: i64,
|
|
pub skill_group_kind: String,
|
|
pub exp: i32,
|
|
pub available_sp: i32,
|
|
pub earned_sp: i32,
|
|
}
|