SharedWorldAddress$ ( )

Parameters

None.

Description

Returns the address other players use to join this room.

Once a hosted room is ready, give your friends this address - show it on screen or copy it to the clipboard - and they pass it to JoinSharedWorld. It names your service and the room's 16-character code, and it stays the same when another player takes over as host.

Returns "" while there is no ready room. It also returns "" while the service cannot be reached: new players cannot join then, but players already in the room carry on, and SharedWorldError() explains.

For the full story - services, hosting, sharing and host migration - see the Shared World guide and its complete Shared_World_Playground.bb sample.


See also: HostSharedWorld, JoinSharedWorld, SharedWorldState.

Index