PFMultiplayer C/C++ API overview - PFMultiplayer.h

Functions

Function Description
PFMultiplayerGetErrorMessage Get the human-readable form of an error generated by the PlayFab Multiplayer library.
PFMultiplayerInitialize Initializes an instance of the PlayFab Multiplayer library.
PFMultiplayerSetEntityToken Sets the token that should be used for authentication when performing library actions on behalf of an entity. If a token has previously been set for the entity, this replaces its previous token.
PFMultiplayerSetMemoryCallbacks Optionally configures the memory allocation and freeing callbacks the Multiplayer library should use.
PFMultiplayerSetThreadAffinityMask Optionally configures the processor on which internal Multiplayer library threads will run.
PFMultiplayerUninitialize Immediately reclaims all resources associated with all Multiplayer library objects.

Callbacks

Callback Description
PFMultiplayerAllocateMemoryCallback A callback invoked every time a new memory buffer must be dynamically allocated by the PlayFab Multiplayer library.
PartyFreeMemoryCallback A callback invoked every time a previously allocated memory buffer is no longer needed by the PlayFab Multiplayer library and can be freed.

Enumerations

Enumeration Description
PFMultiplayerThreadId Threads that Multiplayer library uses for internal purposes.