Struct bevy_steamworks::Matchmaking[][src]

pub struct Matchmaking<Manager> { /* fields omitted */ }
Expand description

Access to the steam matchmaking interface

Implementations

Attempts to create a new matchmaking lobby

The lobby with have the visibility of the of the passed LobbyType and a limit of max_members inside it. The max_members may not be higher than 250.

Triggers

  • LobbyEnter
  • LobbyCreated

Tries to join the lobby with the given ID

Exits the passed lobby

Returns the steam id of the current owner of the passed lobby

Returns the number of players in a lobby.

Useful if you are not currently in the lobby

Returns a list of members currently in the lobby

Sets whether or not a lobby is joinable by other players. This always defaults to enabled for a new lobby.

If joining is disabled, then no players can join, even if they are a friend or have been invited.

Lobbies with joining disabled will not be returned from a lobby search.

Returns true on success, false if the current user doesn’t own the lobby.

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

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.