mirror of
https://github.com/laochan-eacnet/backend.git
synced 2026-10-01 11:07:58 +03:00
Add rival, ghost, customize item counts, bug fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user