Skip to main content

experience_operation

Function experience_operation 

Source
fn experience_operation(
    name: &'static str,
    minimum: i32,
    points: fn(&CommandContext<CommandSource, SteelCommandRuntime>) -> Result<i32, CommandSyntaxError>,
    levels: fn(&CommandContext<CommandSource, SteelCommandRuntime>) -> Result<i32, CommandSyntaxError>,
) -> CommandNodeBuilder<CommandSource, SteelCommandRuntime>