Redigera

PFMultiplayerGetErrorMessage

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

Get the human-readable form of an error generated by the PlayFab Multiplayer library.

Syntax

const char * PFMultiplayerGetErrorMessage(  
    HRESULT error  
)  

Parameters

error   HRESULT

An error code.

Return value

Type: const char *

The human-readable error message. The memory for the returned string remains valid for the lifetime of the process.

Remarks

These error messages aren't localized and are meant only for developers. Don't show them to players in your UI.

Requirements

Header: PFMultiplayer.h

See also

PFMultiplayer members
PlayFab Multiplayer C++ SDK error codes