public static ServerSeasonPass GetSeasonPass() { AccelByteServerPlugin.CheckPlugin(); return(AccelByteServerPlugin.seasonPass ?? (AccelByteServerPlugin.seasonPass = new ServerSeasonPass( new ServerSeasonPassApi( AccelByteServerPlugin.config.BaseUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner))); }
public static ServerMatchmaking GetMatchmaking() { AccelByteServerPlugin.CheckPlugin(); return(AccelByteServerPlugin.matchmaking ?? (AccelByteServerPlugin.matchmaking = new ServerMatchmaking( new ServerMatchmakingApi( AccelByteServerPlugin.config.MatchmakingServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner))); }
public static ServerUserAccount GetUserAccount() { AccelByteServerPlugin.CheckPlugin(); return(AccelByteServerPlugin.userAccount ?? (AccelByteServerPlugin.userAccount = new ServerUserAccount( new ServerUserAccountApi( AccelByteServerPlugin.config.BaseUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner))); }
public static ServerQos GetQos() { if (AccelByteServerPlugin.qos != null) { return(AccelByteServerPlugin.qos); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.qos = new ServerQos( new ServerQosManagerApi( AccelByteServerPlugin.config.QosManagerServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.qos); }
public static ServerGameTelemetry GetGameTelemetry() { if (AccelByteServerPlugin.gameTelemetry != null) { return(AccelByteServerPlugin.gameTelemetry); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.gameTelemetry = new ServerGameTelemetry( new ServerGameTelemetryApi( AccelByteServerPlugin.config.GameTelemetryServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.gameTelemetry); }
public static ServerCloudSave GetCloudSave() { if (AccelByteServerPlugin.cloudSave != null) { return(AccelByteServerPlugin.cloudSave); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.cloudSave = new ServerCloudSave( new ServerCloudSaveApi( AccelByteServerPlugin.config.CloudSaveServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.cloudSave); }
public static ServerLobby GetLobby() { if (AccelByteServerPlugin.lobby != null) { return(AccelByteServerPlugin.lobby); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.lobby = new ServerLobby( new ServerLobbyApi( AccelByteServerPlugin.config.LobbyServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.lobby); }
public static ServerAchievement GetAchievement() { if (AccelByteServerPlugin.achievement != null) { return(AccelByteServerPlugin.achievement); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.achievement = new ServerAchievement( new ServerAchievementApi( AccelByteServerPlugin.config.AchievementServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.achievement); }
public static ServerStatistic GetStatistic() { if (AccelByteServerPlugin.statistic != null) { return(AccelByteServerPlugin.statistic); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.statistic = new ServerStatistic( new ServerStatisticApi( AccelByteServerPlugin.config.StatisticServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.statistic); }
public static ServerEcommerce GetEcommerce() { if (AccelByteServerPlugin.ecommerce != null) { return(AccelByteServerPlugin.ecommerce); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.ecommerce = new ServerEcommerce( new ServerEcommerceApi( AccelByteServerPlugin.config.PlatformServerUrl, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.ecommerce); }
public static DedicatedServerManager GetDedicatedServerManager() { if (AccelByteServerPlugin.dedicatedServerManager != null) { return(AccelByteServerPlugin.dedicatedServerManager); } AccelByteServerPlugin.CheckPlugin(); AccelByteServerPlugin.dedicatedServerManager = new DedicatedServerManager( new DedicatedServerManagerApi( AccelByteServerPlugin.config.DSMControllerServerUrl, AccelByteServerPlugin.config.Namespace, AccelByteServerPlugin.httpClient), AccelByteServerPlugin.session, AccelByteServerPlugin.coroutineRunner); return(AccelByteServerPlugin.dedicatedServerManager); }
public static DedicatedServer GetDedicatedServer() { AccelByteServerPlugin.CheckPlugin(); return(AccelByteServerPlugin.server); }