JoinRejectedEvent Class

Event raised when the server rejects a room join attempt.

Definition

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

Remarks

Subscribe to [!:MultiplayerManager.JoinRejected] to receive this event. Common reasons for rejection include a full room, a mismatched password, or a closed session. Display Reason to the player to explain why they could not join.

Constructors

JoinRejectedEvent Initializes a new instance of JoinRejectedEvent.

Fields

Reason A human-readable explanation of why the join attempt was rejected.

See Also