The search condition class used when searching for a matchmaking session using LocalNetwork
.
More...
The search condition class used when searching for a matchmaking session using LocalNetwork
.
- Revision History:
- 2014-03-03 Initial version.
- See also
- nn::pia::session::SessionSearchCriteria
u16 nn::pia::local::LocalSessionSearchCriteria::GetMaxParticipantsRangeMax |
( |
| ) |
const |
|
inline |
Gets the maximum value of the range of maximum participants set by the search criteria.
- Returns
- Returns the maximum value of the range of maximum participants set by the search criteria.
u16 nn::pia::local::LocalSessionSearchCriteria::GetMaxParticipantsRangeMin |
( |
| ) |
const |
|
inline |
Gets the minimum value of the range of maximum participants set by the search criteria.
- Returns
- Returns the minimum value of the range of maximum participants set by the search criteria.
void nn::pia::local::LocalSessionSearchCriteria::SetLocalCommunicationId |
( |
u32 |
localCommunicationId | ) |
|
|
inline |
void nn::pia::local::LocalSessionSearchCriteria::SetMaxParticipants |
( |
u16 |
max | ) |
|
|
inline |
Sets the maximum participants in the search criteria.
- Parameters
-
[in] | max | The maximum participants value to set in the search criteria. |
void nn::pia::local::LocalSessionSearchCriteria::SetMaxParticipantsRange |
( |
u16 |
min, |
|
|
u16 |
max |
|
) |
| |
|
inline |
Sets a range of maximum participants in the search criteria.
- Parameters
-
[in] | min | The minimum value of the range to set for maximum participants in the search criteria. |
[in] | max | The maximum value of the range to set for maximum participants in the search criteria. |
void nn::pia::local::LocalSessionSearchCriteria::SetOpenedOnly |
( |
bool |
bOpenedOnly | ) |
|
|
inline |
Sets whether to search only for sessions that are open to participants in the search criteria.
- Parameters
-
[in] | bOpenedOnly | Specify true to search only for sessions that are open to participants. |
virtual void nn::pia::session::SessionSearchCriteria::SetResultRange |
( |
u32 |
offset, |
|
|
u32 |
size |
|
) |
| |
|
inlinevirtualinherited |
Specifies the range of search results to get.
If you specify 0xFFFFFFFF
for the offset only during Internet communication, the search results will be sorted randomly and it will get the specified number of entries.
- Parameters
-
[in] | offset | Starting position of the entries to get as search results from the list of entries that match the search criteria. |
[in] | size | Number of entries to get as search results from the list of entries that match the search criteria. |
void nn::pia::local::LocalSessionSearchCriteria::SetSubId |
( |
u8 |
subId | ) |
|
|
inline |
Sets the ID for identifying the communication mode. To search all IDs, specify 0xff
.
- Parameters
-
[in] | subId | Specifies an ID for identifying the communication mode. |
void nn::pia::local::LocalSessionSearchCriteria::SetVacantOnly |
( |
bool |
bVacantOnly | ) |
|
|
inline |
Sets whether to search only for sessions that have openings in the search criteria.
- Parameters
-
[in] | bVacantOnly | Specify true to search only for sessions that have openings. |