Photon Unity Networking 2 2.45

Public Member Functions | Public Attributes | List of all members
PhotonPing Class Reference

Abstract implementation of PhotonPing, ase for pinging servers to find the "Best Region". More...

Inherits IDisposable.

Inherited by PingMono.

Public Member Functions

virtual bool StartPing (string ip)
 Begins sending a ping. More...
 
virtual bool Done ()
 Check if done. More...
 
virtual void Dispose ()
 Dispose of this ping. More...
 

Public Attributes

string DebugString = ""
 Caches the last exception/error message, if any. More...
 
bool Successful
 True of the ping was successful. More...
 

Detailed Description

Abstract implementation of PhotonPing, ase for pinging servers to find the "Best Region".

Member Function Documentation

◆ Dispose()

virtual void Dispose ( )
virtual

Dispose of this ping.

Reimplemented in PingMono.

◆ Done()

virtual bool Done ( )
virtual

Check if done.

Reimplemented in PingMono.

◆ StartPing()

virtual bool StartPing ( string  ip)
virtual

Begins sending a ping.

Reimplemented in PingMono.

Member Data Documentation

◆ DebugString

string DebugString = ""

Caches the last exception/error message, if any.

◆ Successful

bool Successful

True of the ping was successful.