mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 02:46:31 +00:00
Regen for queue ID updates, timeline participantFrames
dict (patch 14.9)
This commit is contained in:
parent
df4386dfab
commit
b0f27af9cd
5 changed files with 13 additions and 42 deletions
|
@ -246,9 +246,7 @@ newtype_enum! {
|
|||
TWISTED_TREELINE_3V3_RANKED_FLEX_DEPRECATED_470 = 470,
|
||||
/// `490`.
|
||||
/// Normal (Quickplay) games on Summoner's Rift
|
||||
///
|
||||
/// https://github.com/RiotGames/developer-relations/issues/846
|
||||
SUMMONERS_RIFT_NORMAL_QUICKPLAY_ = 490,
|
||||
SUMMONERS_RIFT_NORMAL_QUICKPLAY = 490,
|
||||
/// `600`.
|
||||
/// Blood Hunt Assassin games on Summoner's Rift
|
||||
SUMMONERS_RIFT_BLOOD_HUNT_ASSASSIN = 600,
|
||||
|
@ -353,16 +351,16 @@ newtype_enum! {
|
|||
CONVERGENCE_TEAMFIGHT_TACTICS_SIMLUATION = 1111,
|
||||
/// `1130`.
|
||||
/// Ranked Teamfight Tactics (Hyper Roll) games on Convergence
|
||||
CONVERGENCE_RANKED_TEAMFIGHT_TACTICS_HYPER_ROLL_ = 1130,
|
||||
CONVERGENCE_RANKED_TEAMFIGHT_TACTICS_HYPER_ROLL = 1130,
|
||||
/// `1150`.
|
||||
/// Ranked Teamfight Tactics (Double Up Workshop) games on Convergence
|
||||
///
|
||||
/// Deprecated in patch 12.11 in favor of queueId 1160
|
||||
#[deprecated(note="Deprecated in patch 12.11 in favor of queueId 1160")]
|
||||
CONVERGENCE_RANKED_TEAMFIGHT_TACTICS_DOUBLE_UP_WORKSHOP__DEPRECATED_1150 = 1150,
|
||||
CONVERGENCE_RANKED_TEAMFIGHT_TACTICS_DOUBLE_UP_WORKSHOP_DEPRECATED_1150 = 1150,
|
||||
/// `1160`.
|
||||
/// Ranked Teamfight Tactics (Double Up Workshop) games on Convergence
|
||||
CONVERGENCE_RANKED_TEAMFIGHT_TACTICS_DOUBLE_UP_WORKSHOP_ = 1160,
|
||||
CONVERGENCE_RANKED_TEAMFIGHT_TACTICS_DOUBLE_UP_WORKSHOP = 1160,
|
||||
/// `1200`.
|
||||
/// Nexus Blitz games on Nexus Blitz
|
||||
///
|
||||
|
@ -377,7 +375,10 @@ newtype_enum! {
|
|||
SUMMONERS_RIFT_ULTIMATE_SPELLBOOK = 1400,
|
||||
/// `1700`.
|
||||
/// 2v2v2v2 `CHERRY` games on Arena
|
||||
ARENA_2V2V2V2_CHERRY_ = 1700,
|
||||
ARENA_2V2V2V2_CHERRY = 1700,
|
||||
/// `1710`.
|
||||
/// Arena (`CHERRY` games) games on Rings of Wrath
|
||||
RINGS_OF_WRATH_ARENA_CHERRY_GAMES = 1710,
|
||||
/// `1900`.
|
||||
/// Pick URF games on Summoner's Rift
|
||||
SUMMONERS_RIFT_PICK_URF = 1900,
|
||||
|
|
|
@ -38,7 +38,7 @@ pub enum QueueType {
|
|||
RANKED_TFT_PAIRS,
|
||||
/// Ranked Teamfight Tactics (Double Up Workshop) games
|
||||
RANKED_TFT_DOUBLE_UP,
|
||||
/// 2v2v2v2 "Arena" games
|
||||
/// "Arena" games
|
||||
CHERRY,
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 41709c9467fb6608974d90fc3b12980cd76acde3
|
||||
// Version a70746fcf353ba0ad0aceceafcc70d4ba8de4431
|
||||
|
||||
//! Automatically generated endpoint handles.
|
||||
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 41709c9467fb6608974d90fc3b12980cd76acde3
|
||||
// Version a70746fcf353ba0ad0aceceafcc70d4ba8de4431
|
||||
|
||||
//! Metadata about the Riot API and Riven.
|
||||
//!
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 41709c9467fb6608974d90fc3b12980cd76acde3
|
||||
// Version a70746fcf353ba0ad0aceceafcc70d4ba8de4431
|
||||
|
||||
#![allow(missing_docs)]
|
||||
|
||||
|
@ -2079,36 +2079,6 @@ pub mod match_v5 {
|
|||
#[serde(rename = "xp")]
|
||||
pub xp: i32,
|
||||
}
|
||||
/// MatchTimelineInfoFrameParticipantFrames data object.
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
||||
pub struct MatchTimelineInfoFrameParticipantFrames {
|
||||
#[serde(rename = "1")]
|
||||
pub x1: MatchTimelineInfoFrameParticipantFrame,
|
||||
#[serde(rename = "2")]
|
||||
pub x2: MatchTimelineInfoFrameParticipantFrame,
|
||||
#[serde(rename = "3")]
|
||||
pub x3: MatchTimelineInfoFrameParticipantFrame,
|
||||
#[serde(rename = "4")]
|
||||
pub x4: MatchTimelineInfoFrameParticipantFrame,
|
||||
#[serde(rename = "5")]
|
||||
pub x5: MatchTimelineInfoFrameParticipantFrame,
|
||||
#[serde(rename = "6")]
|
||||
pub x6: MatchTimelineInfoFrameParticipantFrame,
|
||||
#[serde(rename = "7")]
|
||||
pub x7: MatchTimelineInfoFrameParticipantFrame,
|
||||
#[serde(rename = "8")]
|
||||
pub x8: MatchTimelineInfoFrameParticipantFrame,
|
||||
/// Possibly null for the Arena 2v2v2v2 (`CHERRY`) game mode.
|
||||
#[serde(rename = "9")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub x9: Option<MatchTimelineInfoFrameParticipantFrame>,
|
||||
/// Possibly null for the Arena 2v2v2v2 (`CHERRY`) game mode.
|
||||
#[serde(rename = "10")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub x10: Option<MatchTimelineInfoFrameParticipantFrame>,
|
||||
}
|
||||
/// MatchTimelineInfoFrame data object.
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
|
@ -2118,7 +2088,7 @@ pub mod match_v5 {
|
|||
pub events: std::vec::Vec<MatchTimelineInfoFrameEvent>,
|
||||
#[serde(rename = "participantFrames")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub participant_frames: Option<MatchTimelineInfoFrameParticipantFrames>,
|
||||
pub participant_frames: Option<std::collections::HashMap<i32, MatchTimelineInfoFrameParticipantFrame>>,
|
||||
#[serde(rename = "timestamp")]
|
||||
pub timestamp: i32,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue