public static bool ChangeCurrentCloudService(MFGCloudService cloud) { #if USING_MULTI_CLOUD_CONFIG m_CurrentCloudService = cloud; return(true); #else Debug.LogError("ChangeCurrentCloudService: service is not enabled."); return(false); #endif }
public static string GetURLBase(MFGCloudService service) { switch (service) { case MFGCloudService.Community: return(SERVICE_URL_BASE_COMMUNITY); case MFGCloudService.Localhost: return(SERVICE_URL_BASE_LOCAL); } Debug.LogError("CloudServices.GetCurrentURLBase() : unsupported cloud service - " + m_CurrentCloudService); return(string.Empty); }
/// <summary> /// Returns true for the retail or important service, false for develop, testing and local services /// </summary> public static bool IsServiceCritical(MFGCloudService service) { return(service == MFGCloudService.Community); }