Contents

match(_:didReceive:fromRemotePlayer:)

Processes the data sent from another player to the local player.

Declaration

optional func match(_ match: GKMatch, didReceive data: Data, fromRemotePlayer player: GKPlayer)

Parameters

  • match:

    The match associated with the data.

  • data:

    The data sent by the player.

  • player:

    The player who sends the data.

Mentioned in

Discussion

Your game defines its own format for data packets it transmits and receives over the network.

See Also

Receiving Data from Other Players