Struct godot_ggrs_wrapper::GodotGGRSSyncTestSession[][src]

pub struct GodotGGRSSyncTestSession { /* fields omitted */ }
Expand description

A Godot implementation of SyncTestSession

Implementations

Creates a SyncTestSession, call this when you want to start setting up a SyncTestSession takes the total number of players and the check distance as parameters

Sets SyncTestSession::set_frame_delay() of specified handle.

Errors

This function will advance the frame using an array of all the inputs given as a parameter (inputs are currently an int in Godot). Before using this function you have to set the callback node and make sure it has the following callback functions implemented

Errors

Sets the callback node that will be called when using Self::advance_frame()

Trait Implementations

Base type of the class. Read more

User-data wrapper type of the class. Read more

The name of the class. Read more

Function that creates a value of Self, used for the script-instance. The default implementation simply panics. Read more

Register any exported properties to Godot.

Convenience method to create an Instance<Self, Unique>. This is a new Self::Base with the script attached. Read more

Convenience method to emplace self into an Instance<Self, Unique>. This is a new Self::Base with the script attached. Read more

Function that registers all exposed methods to Godot.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.