Local Multiplayer for iOS/tvOS/macOS Manual & API Reference
Local Multiplayer for iOS/tvOS/macOS Manual & API Reference
LostPolygon.Apple.LocalMultiplayer
AppleLocalMultiplayer.ISession Interface
ISession Methods
GetConnectedPeers Method
GetConnectedPeers Method
GetConnectedPeers Method (PeerId[])
AppleLocalMultiplayer
ISession
GetConnectedPeers Method (
PeerId
)
Gets peers that are connected to the session, and stores them in the provided buffer.
Namespace:
LostPolygon.Apple.LocalMultiplayer
Syntax
C#
int
GetConnectedPeers
(
PeerId
[]
results
)
Parameters
results
Type:
LostPolygon.Apple.LocalMultiplayer
PeerId
The buffer to store the results in.
Return Value
Type:
Int32
The amount of peers stored to the
results
buffer.
See Also
Reference
AppleLocalMultiplayer
ISession Interface
GetConnectedPeers Overload
LostPolygon.Apple.LocalMultiplayer Namespace
Lost Polygon © 2013-2017,
LostPolygon.com