updated token format

This commit is contained in:
Jonathan Barrow 2023-06-11 07:59:24 -04:00
parent 35a13d90dc
commit 9470efe786
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F

View File

@ -92,7 +92,7 @@ export function unpackToken(token: Buffer): Token {
pid: token.readUInt32LE(0x2),
expire_time: token.readBigUInt64LE(0x6),
title_id: token.readBigUInt64LE(0xE),
access_level: token.readUInt8(0x16)
access_level: token.readInt8(0x16)
};
}