Photon Server API Documentation v5.0RC1

Public Member Functions | List of all members
Photon.NameServer.MasterServerCache Class Reference

Public Member Functions

 MasterServerCache (IEnumerable< Node > nodes)
 
bool TryGetPhotonEndpoint (string region, out PhotonEndpointInfo result, out string message)
 
bool TryGetRegions (GetRegionListRequest regionListRequest, NetworkProtocolType networkProtocol, int port, bool isIPv6, bool useHostnames, out List< string > regions, out List< string > endPoints, out string message)
 

Constructor & Destructor Documentation

◆ MasterServerCache()

Photon.NameServer.MasterServerCache.MasterServerCache ( IEnumerable< Node nodes)
inline

Member Function Documentation

◆ TryGetPhotonEndpoint()

bool Photon.NameServer.MasterServerCache.TryGetPhotonEndpoint ( string  region,
out PhotonEndpointInfo  result,
out string  message 
)
inline

◆ TryGetRegions()

bool Photon.NameServer.MasterServerCache.TryGetRegions ( GetRegionListRequest  regionListRequest,
NetworkProtocolType  networkProtocol,
int  port,
bool  isIPv6,
bool  useHostnames,
out List< string >  regions,
out List< string >  endPoints,
out string  message 
)
inline