コード例 #1
0
 public static SeasonPass GetSeasonPass()
 {
     if (AccelBytePlugin.seasonPass == null)
     {
         CheckPlugin();
         AccelBytePlugin.seasonPass = new SeasonPass(
             new SeasonPassApi(AccelBytePlugin.config.SeasonPassServerUrl, AccelBytePlugin.httpClient),
             AccelBytePlugin.user.Session,
             AccelBytePlugin.config.Namespace,
             AccelBytePlugin.coroutineRunner);
     }
     return(AccelBytePlugin.seasonPass);
 }
コード例 #2
0
 private static void ResetApis()
 {
     categories    = null;
     items         = null;
     orders        = null;
     wallet        = null;
     userProfiles  = null;
     lobby         = null;
     cloudStorage  = null;
     gameProfiles  = null;
     entitlement   = null;
     statistic     = null;
     qos           = null;
     agreement     = null;
     leaderboard   = null;
     cloudSave     = null;
     gameTelemetry = null;
     ugc           = null;
     seasonPass    = null;
     reward        = null;
 }