[wasm/kuwo] feat: expose resource id metadata

This commit is contained in:
鲁树人 2024-09-20 23:42:19 +01:00
parent 7f03b5ed76
commit 07c5995065

View File

@ -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".