17 #include <pia/session/session_UpdateSessionSetting.h> 18 #include <pia/inet/inet_NexSessionTypes.h> 21 #pragma diag_suppress 1300 //n1769: Pragma for ARMCC. 25 #pragma diag_warning 1300 //n1769: Pragma for ARMCC. 120 nn::Result
GetApplicationData(u8* pDataBuf,
size_t* pDataSize,
size_t dataBufSize)
const;
137 bool GetOpenParticipation()
const;
154 const wchar_t* GetSessionUserPassword()
const;
201 u32 GetRatingValue()
const;
202 bool IsSetRatingValue()
const;
214 u32 GetDisconnectionRate()
const;
215 bool IsSetDisconnectionRate()
const;
227 u32 GetViolationRate()
const;
228 bool IsSetViolationRate()
const;
242 u32 GetNintendoCountryCode()
const;
243 bool IsSetNintendoCountryCode()
const;
258 bool GetUpdateGeoIp()
const;
264 bool IsSetScoreBaseParam()
const;
275 u8 GetSelectionPriority()
const;
282 void UpdateApplicationDataHeader(
const u8* pData,
size_t dataSize);
289 void GetApplicationDataInternal(
void* pVectorTmp)
const;
296 void CopyApplicationDataToVector(
void* pVectorTmp)
const;
303 u32 GetModificationFlag()
const;
309 void Trace(u64 flag)
const;
315 u32 m_ModificationFlag;
319 u16 m_MinParticipants;
320 u16 m_MaxParticipants;
323 wchar_t m_Description[DESCRIPTION_DATA_BUFFER_MAX_SIZE + 1];
328 u8 m_ApplicationDataBuffer[APPLICATION_DATA_BUFFER_MAX_SIZE_INTERNAL];
329 size_t m_ApplicationDataSize;
330 size_t m_ApplicationDataInternalOffset;
332 bool m_OpenParticipation;
336 #if NN_PIA_NEX_NEW_FEATURE_FOR_MATCHMAKE 343 bool m_IsSetRatingValue;
345 u32 m_DisconnectionRate;
346 bool m_IsSetDisconnectionRate;
349 bool m_IsSetViolationRate;
352 bool m_IsSetCountryCode;
354 bool m_IsUpdateGeoIp;
367 void AddModificationFlag(u32 bit);
void SetAttributes(u32 attributes[nn::pia::inet::ATTRIBUTE_MAX_SIZE])
Sets attributes for the session.
void SetOpenParticipation(bool isOpen)
Sets whether participation in this session is possible.
void SetDisconnectionRate(u32 disconnectionRate)
Updates the disconnection rate to use for comparison during nn::pia::inet::SELECTION_METHOD_SCORE_BAS...
const size_t ATTRIBUTE_MAX_SIZE
The number of attributes that can be specified in a session.
Definition: inet_NexSessionTypes.h:39
const wchar_t * GetDescription() const
Gets the specified description string.
void SetRatingValue(u32 ratingValue)
Updates the rating value to use for comparison during nn::pia::inet::SELECTION_METHOD_SCORE_BASED.
virtual ~NexUpdateSessionSetting()
The destructor.
void SetSessionType(SessionType sessionType)
Specifies the session type for the session.
void SetMinParticipants(u16 min)
Sets the minimum number of participants for the session.
void SetMaxParticipants(u16 max)
Sets the maximum number of participants for the session.
NexUpdateSessionSetting()
The default constructor.
Base class that manages information specific to updating session conditions.
Definition: inet_NexUpdateSessionSetting.h:41
u16 GetMinParticipants() const
Gets the specified minimum number of participants.
const u32 SESSION_USER_PASSWORD_LENGTH
The user password's string length.
Definition: inet_NexSessionTypes.h:52
void SetNintendoCountryCode(u32 countryCode)
Updates the country code to use for comparison during nn::pia::inet::SELECTION_METHOD_SCORE_BASED.
void SetUpdateGeoIp(bool b)
Sets the IP address to use for getting a distance over the Internet during nn::pia::inet::SELECTION_M...
void SetDescription(const wchar_t *description)
Specifies the description string for the session.
Base class that manages settings specific to session criteria updates.
Definition: session_UpdateSessionSetting.h:30
SessionType
Enumerates the session types.
Definition: inet_NexSessionTypes.h:78
SessionType GetSessionType() const
Gets the specified session type.
u32 GetAttribute(u32 index) const
Gets the specified attribute.
void SetSelectionPriority(u8 priority)
Specifies the matchmaking priority when a session with the same requirements is found.
u16 GetMaxParticipants() const
Gets the maximum number of participants.
nn::Result GetApplicationData(u8 *pDataBuf, size_t *pDataSize, size_t dataBufSize) const
Gets specified application-defined data.
void SetViolationRate(u32 violationRate)
Updates the violation rate to use for comparison during nn::pia::inet::SELECTION_METHOD_SCORE_BASED.
nn::Result SetApplicationData(const u8 *pData, size_t size)
Sets application-defined data.
void SetSessionUserPassword(const wchar_t *pUserPassword, size_t passwordLength)
Sets the user password.