diff options
Diffstat (limited to 'src/net/cargo.rs')
| -rw-r--r-- | src/net/cargo.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/cargo.rs b/src/net/cargo.rs index b05944c..34e6bb4 100644 --- a/src/net/cargo.rs +++ b/src/net/cargo.rs @@ -24,7 +24,9 @@ pub enum Cargo { /// Client -> Server: Request to apply the given matrix to the item with the provided id. /// If the matrix cannot be applied to an item with the given id, it will do nothing. ApplyMatrix((usize, Matrix3<f64>)), - /// Client <-> Remove the item with the given id. + /// Client <-> Server: Clear all data from the world. + ClearAll, + /// Client <-> Server: Remove the item with the given id. Remove(usize), /// Server -> Client: Add all of the data additively to the map AddMapData(World), |
