SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::event::RoomAdd Struct Reference

Dispatched when a Room is created in a Group this client subscribes to, whoever created it. More...

#include <SFSEvent.h>

Public Attributes

std::shared_ptr< entities::Roomroom
 The Room that was created.

Detailed Description

Dispatched when a Room is created in a Group this client subscribes to, whoever created it.

Sent in response to a requests::CreateRoomRequest or a requests::CreateSFSGameRequest, if the operation succeeded.

The Room Variables passed at creation time are not part of this payload: the server only ships the global ones, and a client cannot create those.

See also
requests::CreateRoomRequest
requests::CreateSFSGameRequest
entities::Room
SFSEvent::ROOM_REMOVE
SFSEvent::ROOM_CREATION_ERROR

The documentation for this struct was generated from the following file: