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

Dispatched when a Rooms search is completed. More...

#include <SFSEvent.h>

Public Attributes

std::vector< std::shared_ptr< entities::Room > > roomList
 The Rooms that match the search criteria.

Detailed Description

Dispatched when a Rooms search is completed.

Sent in response to a requests::FindRoomsRequest, with the result of the search.

See also
requests::FindRoomsRequest

Member Data Documentation

◆ roomList

std::vector<std::shared_ptr<entities::Room> > sfs3::event::RoomFindResult::roomList

The Rooms that match the search criteria.

The list is empty when no Room is found.

The Rooms are detached snapshots taken when the server ran the search: they belong to no local Room list and are not kept up to date. Only their joined state is aligned with the Rooms this client already knows.


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