Crate godot_ggrs_wrapper[][src]

Expand description

Godot-GGRS-Wrapper

Godot-GGRS-Wrapper exposes different functions to interact with GGRS inside Godot. All documentation written is explicitly targeted towards use inside Godot, any functions that are usable in Godot have parameters that start with (&mut self, _owner: &Node). When interacting with the function in Godot you can ignore these 2 parameters and just use what comes after. For example the GodotGGRSP2PSession::add_remote_player() method would just be used like this in Godot: p2p.add_remote_player("127.0.0.1:7070").

Structs

A Godot implementation of P2PSession

A Godot implementation of P2PSpectatorSession

A Godot implementation of SyncTestSession

Constants

The name of the Godot callback function that gets called when requesting to advance the frame.

The name of the Godot callback function that gets called when requesting a state load.

The name of the Godot callback function that gets called when requesting a state save.

Error message that is printed when there’s no callback node specified.

Error message that is printed when there’s no GGRS session made.

Functions

Routes all Rust panics to Godot so that any uncaught errors are still visible in Godot.