mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-01 12:17:46 +00:00
This is super simple, you get the player and the args (which you can choose to split if you so choose.) I reimplemented the !setpos, and will start doing the rest of the commands.
10 lines
200 B
Rust
10 lines
200 B
Rust
use binrw::binrw;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[binrw]
|
|
#[derive(Debug, Clone, Copy, Default, Serialize, Deserialize)]
|
|
pub struct Position {
|
|
pub x: f32,
|
|
pub y: f32,
|
|
pub z: f32,
|
|
}
|