[wasm/kuwo] feat: expose resource id metadata
This commit is contained in:
parent
7f03b5ed76
commit
07c5995065
@ -23,6 +23,12 @@ impl JsKuwoHeader {
|
||||
pub fn quality_id(&self) -> u32 {
|
||||
self.0.get_quality_id()
|
||||
}
|
||||
|
||||
/// Get resource id
|
||||
#[wasm_bindgen(getter, js_name=resourceId)]
|
||||
pub fn resource_id(&self) -> u32 {
|
||||
self.0.resource_id
|
||||
}
|
||||
}
|
||||
|
||||
/// Create a decipher instance for "BoDian Music".
|
||||
|
Loading…
Reference in New Issue
Block a user