Comment on page
TNT: Unity
Tashi Network Transport
Applies the
IncomingSessionDetails
and begins the session. This must only be called when no session is starting or is in progress.If the local player is the lobby host and a Tashi Relay API key is specified then this will also initiate the Tashi Relay session allocation.
The
TashiNetworkTransportEditorConfig
used to configure the network transport. This is set automatically.SessionState SessionState
This has the following descriminants:
NotStarted
Starting
InProgress
Session details that should be shared with other players.
Session details that have been received from other players.
Creates a
IncomingSessionDetails
from a Lobby
.An optional
DirectAddressBookEntry
that specifies the address of an allocated Tashi Relay server. This is provided by the initial session host. A Tashi Relay isn't always necessary, but it can aid in bypassing NAT and firewalls for many players.A list of
AddressBookEntry
that is used to define the initial session address book.The session host's
AddressBookEntry
.Session details that should be shared with other players.
Adds the required data to
UpdatePlayerOptions
, which must be sent to the Unity lobby.Adds the required data to
UpdateLobbyOptions
, which must be sent to the Unity lobby.An optional
DirectAddressBookEntry
that specifies the address of an allocated Tashi Relay server. This is provided by the initial session host. A Tashi Relay isn't always necessary, but it can aid in bypassing NAT and firewalls for many players.The local
AddressBookEntry
that will enable other players to attempt a connection.
Last modified 1mo ago