Redigera

PFEntityIsTitlePlayer

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

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