Provides basic operations of the Photon Chat server. This internal class is used by public ChatClient.
More...
Inherits PhotonPeer.
|
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...
|
|
|
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...
|
|
Provides basic operations of the Photon Chat server. This internal class is used by public ChatClient.
ChatPeer |
( |
IPhotonPeerListener |
listener, |
|
|
ConnectionProtocol |
protocol |
|
) |
| |
Chat Peer constructor.
- Parameters
-
listener | Chat listener implementation. |
protocol | Protocol to be used by the peer. |
bool AuthenticateOnNameServer |
( |
string |
appId, |
|
|
string |
appVersion, |
|
|
string |
region, |
|
|
AuthenticationValues |
authValues |
|
) |
| |
Authenticates on NameServer.
- Returns
- If the authentication operation request could be sent.
Connects to NameServer.
- Returns
- If the connection attempt could be sent.
const string NameServerHost = "ns.exitgames.com" |
Name Server Host Name for Photon Cloud. Without port and without any prefix.
const string NameServerHttp = "http://ns.exitgamescloud.com:80/photon/n" |
Name Server for HTTP connections to the Photon Cloud. Includes prefix and port.
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.