veloren/common/src/msg/server.rs

19 lines
312 B
Rust
Raw Normal View History

use crate::comp::{
Uid,
phys,
};
#[derive(Clone, Debug, Serialize, Deserialize)]
pub enum ServerMsg {
Shutdown,
Chat(String),
SetPlayerEntity(Uid),
EntityPhysics {
uid: Uid,
pos: phys::Pos,
vel: phys::Vel,
dir: phys::Dir,
},
EntityDeleted(Uid),
}