Alteruna Multiplayer Docs
C#
Show/Hide TOC
Room
Created
Event Class
Event raised when a room creation attempt completes.
Definition
Namespace:
Alteruna.Multiplayer.EventArgument
Assembly:
Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
C#
Copy
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
Reference
Alteruna.Multiplayer.EventArgument Namespace
In This Article
Definition
Remarks
Constructors
Fields
See Also