CTR Pia  4.11.3
Game Communication Engine
nn::pia::inet::NexSessionSearchCriteriaOwner Class Reference

The condition class used when searching for a session. More...

+ Inheritance diagram for nn::pia::inet::NexSessionSearchCriteriaOwner:

Public Member Functions

 NexSessionSearchCriteriaOwner ()
 The default constructor.
 
 NexSessionSearchCriteriaOwner (u32 ownerPrincipalId, u32 resultOffset, u32 resultSize)
 The constructor. More...
 
virtual ~NexSessionSearchCriteriaOwner ()
 The destructor.
 
NexSessionSearchCriteriaOwneroperator= (const NexSessionSearchCriteriaOwner &r)
 Assignment operator. More...
 
void SetOwnerPrincipalId (u32 ownerPrincipalId)
 Specifies the principal ID of the owner as a search condition. More...
 
virtual void SetResultRange (u32 offset, u32 size)
 Specifies the range of search results to get. More...
 

Detailed Description

The condition class used when searching for a session.

See also
nn::pia::session::SessionSearchCriteria

Constructor & Destructor Documentation

nn::pia::inet::NexSessionSearchCriteriaOwner::NexSessionSearchCriteriaOwner ( u32  ownerPrincipalId,
u32  resultOffset,
u32  resultSize 
)
inline

The constructor.

Parameters
[in]ownerPrincipalIdSpecify the principal ID of the owner as a search condition.
[in]resultOffsetStarting position of the entries to get as search results from the list of entries that match the search criteria.
[in]resultSizeNumber of entries to get as search results from the list of entries that match the search criteria.

Member Function Documentation

NexSessionSearchCriteriaOwner& nn::pia::inet::NexSessionSearchCriteriaOwner::operator= ( const NexSessionSearchCriteriaOwner r)
inline

Assignment operator.

Parameters
[in]rThe object to assign.
Returns
See this object.
void nn::pia::inet::NexSessionSearchCriteriaOwner::SetOwnerPrincipalId ( u32  ownerPrincipalId)
inline

Specifies the principal ID of the owner as a search condition.

Parameters
[in]ownerPrincipalIdThe principal ID of the owner to use as a search condition.
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]offsetStarting position of the entries to get as search results from the list of entries that match the search criteria.
[in]sizeNumber of entries to get as search results from the list of entries that match the search criteria.