Rust SDK for BakkesMod plugins

Crates.io version docs.rs docs

Go to the documentation

Example

```rust use bakkesmod::prelude::; use bakkesmod::wrappers::unreal::; use bakkesmod::{game, console};

[plugin_init]

pub fn onload() { console::registernotifier("getballlocation", Box::new(move |: Vec| { let game = match bakkesmod::getgameeventasserver() { Some(g) => g, None => { logconsole!("game is null!"); return; } };

    match game.get_ball() {
        Some(ball) => log_console!("{}", ball.get_location()),
        None => log_console!("ball is NULL")
    };
}));

} ```

View more examples in the examples directory.