Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.
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