diff options
| author | Arne Dußin | 2021-02-03 10:51:08 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-02-03 10:51:08 +0100 |
| commit | d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602 (patch) | |
| tree | 6788d2efc22373d735947ba46d3a3ea3b3b3733c /src/net/cargo.rs | |
| parent | f92e9f6f07b1e3834c2ca58ce3510734819d08e4 (diff) | |
| download | graf_karto-d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602.tar.gz graf_karto-d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602.zip | |
Fix commands
Commands now operate on the local file system, but on the remote world
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), |
