Photon Unity Networking: ExitGames.Client.Photon.Chat.ChatPeer Class Reference

Photon-Unity-Networking

ExitGames.Client.Photon.Chat.ChatPeer Class Reference

Provides basic operations of the Photon Chat server. This internal class is used by public ChatClient. More...

Inherits PhotonPeer.

Public Member Functions

 ChatPeer (IPhotonPeerListener listener, ConnectionProtocol protocol)
 
bool Connect ()
 
bool AuthenticateOnNameServer (string appId, string appVersion, string region, AuthenticationValues authValues)
 

Public Attributes

const string NameServerHost = "ns.exitgames.com"
 Name Server Host Name for Photon Cloud. Without port and without any prefix. More...
 
const string NameServerHttp = "http://ns.exitgamescloud.com:80/photon/n"
 Name Server for HTTP connections to the Photon Cloud. Includes prefix and port. More...
 

Properties

string NameServerAddress [get]
 Name Server Address for Photon Cloud (based on current protocol). You can use the default values and usually won't have to set this value. More...
 

Detailed Description

Provides basic operations of the Photon Chat server. This internal class is used by public ChatClient.

Constructor & Destructor Documentation

ExitGames.Client.Photon.Chat.ChatPeer.ChatPeer ( IPhotonPeerListener  listener,
ConnectionProtocol  protocol 
)

Member Function Documentation

bool ExitGames.Client.Photon.Chat.ChatPeer.AuthenticateOnNameServer ( string  appId,
string  appVersion,
string  region,
AuthenticationValues  authValues 
)
bool ExitGames.Client.Photon.Chat.ChatPeer.Connect ( )

Member Data Documentation

const string ExitGames.Client.Photon.Chat.ChatPeer.NameServerHost = "ns.exitgames.com"

Name Server Host Name for Photon Cloud. Without port and without any prefix.

const string ExitGames.Client.Photon.Chat.ChatPeer.NameServerHttp = "http://ns.exitgamescloud.com:80/photon/n"

Name Server for HTTP connections to the Photon Cloud. Includes prefix and port.

Property Documentation

string ExitGames.Client.Photon.Chat.ChatPeer.NameServerAddress
get

Name Server Address for Photon Cloud (based on current protocol). You can use the default values and usually won't have to set this value.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH