JoinRejectedEvent Class

Event raised when the server rejects a room join attempt.

Definition

Namespace: Alteruna.Multiplayer.EventArgument
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
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