forked from mirror/Riven
Regen for new `match-v5.ParticipantChallenges.twoWardsOneSweeperCount` field
parent
78f187570f
commit
3070216709
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version bee23b178b4c4f077a377d7b60fd9861e31ed63c
|
||||
// Version 330285a83d1e8c4a3a619734dc2204446fb16cff
|
||||
|
||||
//! Automatically generated endpoint handles.
|
||||
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version bee23b178b4c4f077a377d7b60fd9861e31ed63c
|
||||
// Version 330285a83d1e8c4a3a619734dc2204446fb16cff
|
||||
|
||||
//! Metadata about the Riot API and Riven.
|
||||
//!
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version bee23b178b4c4f077a377d7b60fd9861e31ed63c
|
||||
// Version 330285a83d1e8c4a3a619734dc2204446fb16cff
|
||||
|
||||
#![allow(missing_docs)]
|
||||
|
||||
|
@ -403,9 +403,9 @@ pub mod lol_challenges_v1 {
|
|||
}
|
||||
/// State data object.
|
||||
/// # Description
|
||||
/// DISABLED - not visible and not calculated,<br>
|
||||
/// HIDDEN - not visible, but calculated,<br>
|
||||
/// ENABLED - visible and calculated,<br>
|
||||
/// DISABLED - not visible and not calculated,<br>
|
||||
/// HIDDEN - not visible, but calculated,<br>
|
||||
/// ENABLED - visible and calculated,<br>
|
||||
/// ARCHIVED - visible, but not calculated
|
||||
///
|
||||
/// Note: This struct is automatically generated
|
||||
|
@ -416,7 +416,7 @@ pub mod lol_challenges_v1 {
|
|||
}
|
||||
/// Tracking data object.
|
||||
/// # Description
|
||||
/// LIFETIME - stats are incremented without reset,<br>
|
||||
/// LIFETIME - stats are incremented without reset,<br>
|
||||
/// SEASON - stats are accumulated by season and reset at the beginning of new season
|
||||
///
|
||||
/// Note: This struct is automatically generated
|
||||
|
@ -439,15 +439,15 @@ pub mod lol_challenges_v1 {
|
|||
}
|
||||
/// Level data object.
|
||||
/// # Description
|
||||
/// 0 NONE,<br>
|
||||
/// 1 IRON,<br>
|
||||
/// 2 BRONZE,<br>
|
||||
/// 3 SILVER,<br>
|
||||
/// 4 GOLD,<br>
|
||||
/// 5 PLATINUM,<br>
|
||||
/// 6 DIAMOND,<br>
|
||||
/// 7 MASTER,<br>
|
||||
/// 8 GRANDMASTER,<br>
|
||||
/// 0 NONE,<br>
|
||||
/// 1 IRON,<br>
|
||||
/// 2 BRONZE,<br>
|
||||
/// 3 SILVER,<br>
|
||||
/// 4 GOLD,<br>
|
||||
/// 5 PLATINUM,<br>
|
||||
/// 6 DIAMOND,<br>
|
||||
/// 7 MASTER,<br>
|
||||
/// 8 GRANDMASTER,<br>
|
||||
/// 9 CHALLENGER
|
||||
///
|
||||
/// Note: This struct is automatically generated
|
||||
|
@ -1790,6 +1790,9 @@ pub mod match_v5 {
|
|||
#[serde(rename = "twentyMinionsIn3SecondsCount")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub twenty_minions_in3_seconds_count: Option<f64>,
|
||||
#[serde(rename = "twoWardsOneSweeperCount")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub two_wards_one_sweeper_count: Option<i32>,
|
||||
#[serde(rename = "unseenRecalls")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub unseen_recalls: Option<f64>,
|
||||
|
@ -1819,7 +1822,7 @@ pub mod match_v5 {
|
|||
pub real_timestamp: Option<i64>,
|
||||
#[serde(rename = "timestamp")]
|
||||
pub timestamp: i32,
|
||||
/// Timeline event type.<br>
|
||||
/// Timeline event type.<br>
|
||||
/// (Known legal values: ASCENDED_EVENT, BUILDING_KILL, CAPTURE_POINT, CHAMPION_KILL, CHAMPION_SPECIAL_KILL, CHAMPION_TRANSFORM, DRAGON_SOUL_GIVEN, ELITE_MONSTER_KILL, GAME_END, ITEM_DESTROYED, ITEM_PURCHASED, ITEM_SOLD, ITEM_UNDO, LEVEL_UP, PAUSE_END, PAUSE_START, SKILL_LEVEL_UP, TURRET_PLATE_DESTROYED, WARD_KILL, WARD_PLACED)
|
||||
#[serde(rename = "type")]
|
||||
pub r#type: String,
|
||||
|
@ -2292,7 +2295,7 @@ pub mod spectator_v4 {
|
|||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
||||
pub struct FeaturedGameInfo {
|
||||
/// The game mode<br>
|
||||
/// The game mode<br>
|
||||
/// (Legal values: CLASSIC, ODIN, ARAM, TUTORIAL, ONEFORALL, ASCENSION, FIRSTBLOOD, KINGPORO)
|
||||
#[serde(rename = "gameMode")]
|
||||
pub game_mode: crate::consts::GameMode,
|
||||
|
@ -2302,7 +2305,7 @@ pub mod spectator_v4 {
|
|||
/// The ID of the map
|
||||
#[serde(rename = "mapId")]
|
||||
pub map_id: crate::consts::Map,
|
||||
/// The game type<br>
|
||||
/// The game type<br>
|
||||
/// (Legal values: CUSTOM_GAME, MATCHED_GAME, TUTORIAL_GAME)
|
||||
#[serde(rename = "gameType")]
|
||||
pub game_type: crate::consts::GameType,
|
||||
|
@ -2481,7 +2484,7 @@ pub mod tft_league_v1 {
|
|||
pub summoner_name: String,
|
||||
#[serde(rename = "queueType")]
|
||||
pub queue_type: crate::consts::QueueType,
|
||||
/// Only included for the RANKED_TFT_TURBO queueType.<br>
|
||||
/// Only included for the RANKED_TFT_TURBO queueType.<br>
|
||||
/// (Legal values: ORANGE, PURPLE, BLUE, GREEN, GRAY)
|
||||
#[serde(rename = "ratedTier")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
@ -2869,15 +2872,15 @@ pub mod tournament_stub_v4 {
|
|||
/// The team size of the game. Valid values are 1-5.
|
||||
#[serde(rename = "teamSize")]
|
||||
pub team_size: i32,
|
||||
/// The pick type of the game.<br>
|
||||
/// The pick type of the game.<br>
|
||||
/// (Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)
|
||||
#[serde(rename = "pickType")]
|
||||
pub pick_type: String,
|
||||
/// The map type of the game.<br>
|
||||
/// The map type of the game.<br>
|
||||
/// (Legal values: SUMMONERS_RIFT, TWISTED_TREELINE, HOWLING_ABYSS)
|
||||
#[serde(rename = "mapType")]
|
||||
pub map_type: String,
|
||||
/// The spectator type of the game.<br>
|
||||
/// The spectator type of the game.<br>
|
||||
/// (Legal values: NONE, LOBBYONLY, ALL)
|
||||
#[serde(rename = "spectatorType")]
|
||||
pub spectator_type: String,
|
||||
|
@ -2910,7 +2913,7 @@ pub mod tournament_stub_v4 {
|
|||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
||||
pub struct ProviderRegistrationParameters {
|
||||
/// The region in which the provider will be running tournaments.<br>
|
||||
/// The region in which the provider will be running tournaments.<br>
|
||||
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR)
|
||||
#[serde(rename = "region")]
|
||||
pub region: crate::consts::TournamentRegion,
|
||||
|
@ -2954,15 +2957,15 @@ pub mod tournament_v4 {
|
|||
/// The team size of the game. Valid values are 1-5.
|
||||
#[serde(rename = "teamSize")]
|
||||
pub team_size: i32,
|
||||
/// The pick type of the game.<br>
|
||||
/// The pick type of the game.<br>
|
||||
/// (Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)
|
||||
#[serde(rename = "pickType")]
|
||||
pub pick_type: String,
|
||||
/// The map type of the game.<br>
|
||||
/// The map type of the game.<br>
|
||||
/// (Legal values: SUMMONERS_RIFT, TWISTED_TREELINE, HOWLING_ABYSS)
|
||||
#[serde(rename = "mapType")]
|
||||
pub map_type: String,
|
||||
/// The spectator type of the game.<br>
|
||||
/// The spectator type of the game.<br>
|
||||
/// (Legal values: NONE, LOBBYONLY, ALL)
|
||||
#[serde(rename = "spectatorType")]
|
||||
pub spectator_type: String,
|
||||
|
@ -3002,7 +3005,7 @@ pub mod tournament_v4 {
|
|||
/// The tournament code's ID.
|
||||
#[serde(rename = "id")]
|
||||
pub id: i32,
|
||||
/// The tournament code's region.<br>
|
||||
/// The tournament code's region.<br>
|
||||
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR)
|
||||
#[serde(rename = "region")]
|
||||
pub region: String,
|
||||
|
@ -3022,15 +3025,15 @@ pub mod tournament_v4 {
|
|||
#[serde(rename = "allowedSummonerIds")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub allowed_summoner_ids: Option<std::vec::Vec<String>>,
|
||||
/// The pick type<br>
|
||||
/// The pick type<br>
|
||||
/// (Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)
|
||||
#[serde(rename = "pickType")]
|
||||
pub pick_type: String,
|
||||
/// The map type<br>
|
||||
/// The map type<br>
|
||||
/// (Legal values: SUMMONERS_RIFT, TWISTED_TREELINE, HOWLING_ABYSS)
|
||||
#[serde(rename = "mapType")]
|
||||
pub map_type: String,
|
||||
/// The spectator type<br>
|
||||
/// The spectator type<br>
|
||||
/// (Legal values: NONE, LOBBYONLY, ALL)
|
||||
#[serde(rename = "spectatorType")]
|
||||
pub spectator_type: String,
|
||||
|
@ -3063,7 +3066,7 @@ pub mod tournament_v4 {
|
|||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
||||
pub struct ProviderRegistrationParameters {
|
||||
/// The region in which the provider will be running tournaments.<br>
|
||||
/// The region in which the provider will be running tournaments.<br>
|
||||
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR)
|
||||
#[serde(rename = "region")]
|
||||
pub region: crate::consts::TournamentRegion,
|
||||
|
|
|
@ -32,6 +32,8 @@ static MATCHES: &[&str] = &[
|
|||
"JP1_273343663",
|
||||
// Only has participant IDs for blue team.
|
||||
"JP1_391732436",
|
||||
// New field `ParticipantChallenges` `twoWardsOneSweeperCount`
|
||||
"JP1_397348569",
|
||||
];
|
||||
|
||||
async_tests! {
|
||||
|
|
Loading…
Reference in New Issue