Edit

PFEntityIsTitlePlayer

Convenience method to check if an Entity is a Title Player. This is equivalent to calling PFEntityGetEntityKey and comparing entityKey.type to PFTitlePlayerEntityType.

Syntax

HRESULT PFEntityIsTitlePlayer(  
    PFEntityHandle entityHandle,  
    bool* isTitlePlayer  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle returned from a auth call.

isTitlePlayer   bool*
output

Will be set to true if the entity is a TitlePlayer and false otherwise.

Return value

Type: HRESULT

Result code for this API operation.

Requirements

Header: PFEntity.h

See also

PFEntity members