mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Nevermind, bundle metadata is definitely out of scope (and useless for LoR)
This commit is contained in:
parent
df0524cea3
commit
26c02d9c2e
2 changed files with 0 additions and 37 deletions
|
@ -1,34 +0,0 @@
|
|||
//! This module defines [BundleMetadata].
|
||||
|
||||
/// The contents of the `metadata.json` file of a bundle.
|
||||
///
|
||||
/// Both Core Bundles and Set Bundles are bundles, and both have `metadata.json` files.
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
||||
pub struct BundleMetadata {
|
||||
/// The locales included in the bundle.
|
||||
///
|
||||
/// I've never seen more that a single locale here, but the specification allows that.
|
||||
locales: Vec<String>,
|
||||
|
||||
/// ???
|
||||
#[serde(default = "none")]
|
||||
client_hash: Option<String>,
|
||||
|
||||
/// ???
|
||||
#[serde(default = "none")]
|
||||
gameplay_data_hash: Option<String>,
|
||||
|
||||
/// ???
|
||||
#[serde(default = "none")]
|
||||
timestamp: Option<String>,
|
||||
|
||||
/// ???
|
||||
#[serde(default = "none")]
|
||||
patchline_ref: Option<String>,
|
||||
}
|
||||
|
||||
|
||||
/// Generate a [Option::None] to use as default in [serde].
|
||||
fn none<T>() -> Option<T> {
|
||||
Option::<T>::None
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
//! This module defines the types used in all Data Dragon bundles.
|
||||
|
||||
pub mod metadata;
|
Loading…
Reference in a new issue