Add rival, ghost, customize item counts, bug fix

This commit is contained in:
GEEKiDoS
2024-04-13 12:35:21 +08:00
parent 323a4a8fd1
commit cd19c26c8c
11 changed files with 524 additions and 36 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ function toObject(node: Record<string, unknown> | unknown[] | string): any {
return obj;
}
export function fromKBinXml(kbinxml: Buffer) {
export function fromKBinXml(kbinxml: Uint8Array) {
const xml = to_xml(kbinxml).data;
const parsedXml = parser.parse(xml);
return toObject(parsedXml);