共用方式為


Multiplayer Manager example code

This section provides example code for Multiplayer Manager (MPM).

In this section

Enable playing a multiplayer game with friends by using Multiplayer Manager
Describes how to use Multiplayer Manager to enable playing a multiplayer game online with friends.

Enable finding a multiplayer game by using SmartMatch using Multiplayer Manager
Describes how to use Multiplayer Manager so that a player can find a multiplayer game by using SmartMatch matchmaking.

Send game invites by using Multiplayer Manager
Describes how to use Multiplayer Manager so a player can send game invites to other players to join a game.

Handling protocol activation to start a game by using Multiplayer Manager
Describes using Multiplayer Manager to handle protocol activation so that the game automatically starts in response to another action, such as when a player accepts a game invite from another player.