Function veloren_voxygen::cmd::run_command
source ยท pub fn run_command(
session_state: &mut SessionState,
global_state: &mut GlobalState,
cmd: &str,
args: Vec<String>,
) -> Result<Option<String>, String>
Expand description
Runs a command by either sending it to the server or processing it locally. Returns a String to be output to the chat.