diff --git a/riven/src/consts/game_mode.rs b/riven/src/consts/game_mode.rs
index 98f2d19..122dc21 100644
--- a/riven/src/consts/game_mode.rs
+++ b/riven/src/consts/game_mode.rs
@@ -38,11 +38,11 @@ pub enum GameMode {
DOOMBOTSTEEMO,
/// Snowdown Showdown games
FIRSTBLOOD,
- /// Nexus Blitz games, deprecated in patch 9.2 in favor of gameMode NEXUSBLITZ.
+ /// Nexus Blitz games
GAMEMODEX,
/// Legend of the Poro King games
KINGPORO,
- /// Nexus Blitz games.
+ /// Nexus Blitz games
NEXUSBLITZ,
/// Dominion/Crystal Scar games
ODIN,
@@ -50,6 +50,8 @@ pub enum GameMode {
ODYSSEY,
/// One for All games
ONEFORALL,
+ /// Practice tool training games.
+ PRACTICETOOL,
/// PROJECT: Hunters games
PROJECT,
/// Nexus Siege games
@@ -64,7 +66,7 @@ pub enum GameMode {
TUTORIAL_MODULE_2,
/// Tutorial: Shop for Gear.
TUTORIAL_MODULE_3,
- /// Ultimate Spellbook games.
+ /// Ultimate Spellbook games
ULTBOOK,
/// URF games
URF,
diff --git a/riven/src/consts/tier.rs b/riven/src/consts/tier.rs
index 40a7984..703c12c 100644
--- a/riven/src/consts/tier.rs
+++ b/riven/src/consts/tier.rs
@@ -37,6 +37,8 @@ pub enum Tier {
IRON = 40,
/// Unranked, no tier. Repr: `0_u8`.
+ /// Also deserializes from "NONE" returned by `lol-challenges-v1.getChallengePercentiles`.
+ #[serde(alias = "NONE")]
UNRANKED = 0,
}
diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs
index a53eec0..1fd6446 100644
--- a/riven/src/endpoints.rs
+++ b/riven/src/endpoints.rs
@@ -7,7 +7,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version 616004110d2cf4f8bb0b1e0332e079399aea56cc
+// Version d2e2d8db61e32b60f6722b887694538659c20436
//! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
@@ -80,6 +80,15 @@ impl RiotApi {
pub fn league_v4(&self) -> LeagueV4 {
LeagueV4 { base: self }
}
+ /// Returns a handle for accessing [LolChallengesV1](crate::endpoints::LolChallengesV1) endpoints.
+ /// # Riot Developer API Reference
+ /// `lol-challenges-v1`
+ ///
+ /// Note: this method is automatically generated.
+ #[inline]
+ pub fn lol_challenges_v1(&self) -> LolChallengesV1 {
+ LolChallengesV1 { base: self }
+ }
/// Returns a handle for accessing [LolStatusV3](crate::endpoints::LolStatusV3) endpoints.
/// # Riot Developer API Reference
/// `lol-status-v3`
@@ -197,15 +206,6 @@ impl RiotApi {
pub fn tft_summoner_v1(&self) -> TftSummonerV1 {
TftSummonerV1 { base: self }
}
- /// Returns a handle for accessing [ThirdPartyCodeV4](crate::endpoints::ThirdPartyCodeV4) endpoints.
- /// # Riot Developer API Reference
- /// `third-party-code-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn third_party_code_v4(&self) -> ThirdPartyCodeV4 {
- ThirdPartyCodeV4 { base: self }
- }
/// Returns a handle for accessing [TournamentStubV4](crate::endpoints::TournamentStubV4) endpoints.
/// # Riot Developer API Reference
/// `tournament-stub-v4`
@@ -726,6 +726,133 @@ impl<'a> LeagueV4<'a> {
}
+/// LolChallengesV1 endpoints handle, accessed by calling [`lol_challenges_v1()`](crate::RiotApi::lol_challenges_v1) on a [`RiotApi`](crate::RiotApi) instance.
+/// # Riot Developer API Reference
+/// `lol-challenges-v1`
+///
+/// Note: this struct is automatically generated.
+#[repr(transparent)]
+pub struct LolChallengesV1<'a> {
+ base: &'a RiotApi,
+}
+impl<'a> LolChallengesV1<'a> {
+ /// List of all basic challenge configuration information (includes all translations for names and descriptions)
+ /// # Parameters
+ /// * `route` - Route to query.
+ /// # Riot Developer API Reference
+ /// `lol-challenges-v1.getAllChallengeConfigs`
+ ///
+ /// Note: this method is automatically generated.
+ pub fn get_all_challenge_configs(&self, route: PlatformRoute)
+ -> impl Future