mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add basic group functionality (no voxygen wiring yet)
This commit is contained in:
@ -18,12 +18,23 @@ pub enum InventoryManip {
|
||||
CraftRecipe(String),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub enum GroupManip {
|
||||
Invite(Uid),
|
||||
Accept,
|
||||
Reject,
|
||||
Leave,
|
||||
Kick(Uid),
|
||||
AssignLeader(Uid),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub enum ControlEvent {
|
||||
ToggleLantern,
|
||||
Mount(Uid),
|
||||
Unmount,
|
||||
InventoryManip(InventoryManip),
|
||||
GroupManip(GroupManip),
|
||||
Respawn,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user