RoomCreatedEvent Class

Event raised when a room creation attempt completes.

Definition

Namespace: Alteruna.Multiplayer.Unity.EventArgument
Assembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public class RoomCreatedEvent : RoomEvent
Inheritance
Object    MultiplayerEvent    RoomEvent    RoomCreatedEvent

Remarks

Subscribe to [!:MultiplayerManager.RoomCreated] to receive this event. Always check Success before using Room; when Success is the room object may be in an invalid state.

Constructors

RoomCreatedEvent Initializes a new instance of RoomCreatedEvent.

Fields

InviteCode The invite code that other players can use to join the newly created room.
Success Whether the room was created successfully.

See Also