17 #include <pia/session/session_SessionSearchCriteria.h> 26 class LocalNetworkDescription;
41 m_MaxParticipantsRangeMax(INVALID_PARICIPANTS_NUM),
42 m_MaxParticipantsRangeMin(INVALID_PARICIPANTS_NUM),
45 m_LocalCommunicationId(0),
61 m_MaxParticipantsRangeMax = max;
62 m_MaxParticipantsRangeMin = max;
72 m_MaxParticipantsRangeMax = max;
73 m_MaxParticipantsRangeMin = min;
82 return m_MaxParticipantsRangeMin;
91 return m_MaxParticipantsRangeMax;
100 m_bOpenedOnly = bOpenedOnly;
109 m_bVacantOnly = bVacantOnly;
121 m_LocalCommunicationId = localCommunicationId;
127 u32 GetLocalCommunicationId()
const 129 return m_LocalCommunicationId;
161 m_MaxParticipantsRangeMax = r.m_MaxParticipantsRangeMax;
162 m_MaxParticipantsRangeMin = r.m_MaxParticipantsRangeMin;
163 m_bOpenedOnly = r.m_bOpenedOnly;
164 m_bVacantOnly = r.m_bVacantOnly;
165 m_LocalCommunicationId = r.m_LocalCommunicationId;
171 virtual void Trace(u64 flag)
const 173 NN_PIA_DUMMY_PARAM(flag);
182 static const u16 INVALID_PARICIPANTS_NUM = 0xffff;
185 u16 m_MaxParticipantsRangeMax;
186 u16 m_MaxParticipantsRangeMin;
193 u32 m_LocalCommunicationId;
u16 GetMaxParticipantsRangeMin() const
Gets the minimum value of the range of maximum participants set by the search criteria.
Definition: local_LocalSessionSearchCriteria.h:80
The base class for the search criteria used when searching for sessions.
Definition: session_SessionSearchCriteria.h:34
void SetLocalCommunicationId(u32 localCommunicationId)
Sets the local communication ID.
Definition: local_LocalSessionSearchCriteria.h:119
void SetVacantOnly(bool bVacantOnly)
Sets whether to search only for sessions that have openings in the search criteria.
Definition: local_LocalSessionSearchCriteria.h:107
The search condition class used when searching for a matchmaking session using LocalNetwork.
Definition: local_LocalSessionSearchCriteria.h:35
Class that holds information about a local network.
Definition: local_LocalNetworkSetting.h:121
void SetMaxParticipantsRange(u16 min, u16 max)
Sets a range of maximum participants in the search criteria.
Definition: local_LocalSessionSearchCriteria.h:70
SessionSearchCriteria & operator=(const SessionSearchCriteria &r)
Assignment operator.
Definition: session_SessionSearchCriteria.h:99
u16 GetMaxParticipantsRangeMax() const
Gets the maximum value of the range of maximum participants set by the search criteria.
Definition: local_LocalSessionSearchCriteria.h:89
void SetSubId(u8 subId)
Sets the ID for identifying the communication mode. To search all IDs, specify 0xff.
Definition: local_LocalSessionSearchCriteria.h:138
void SetMaxParticipants(u16 max)
Sets the maximum participants in the search criteria.
Definition: local_LocalSessionSearchCriteria.h:59
void SetOpenedOnly(bool bOpenedOnly)
Sets whether to search only for sessions that are open to participants in the search criteria...
Definition: local_LocalSessionSearchCriteria.h:98