1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-01 12:17:46 +00:00
kawari/src/common/position.rs
Joshua Goins 4c17f28eb0 Add Lua API for commands
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.
2025-05-06 21:57:52 -04:00

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,
}