mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
WIP
This commit is contained in:
1 parent
949ea4ba4b
commit
e01fa0ab0a
16 files changed
+406
-231
No files matched your search
@@ -0,0 +1,15 @@
|
||||
export const getPlayerGameLicense = (src: number): null | string => {
|
||||
// Parse specifically for license identifier as its
|
||||
// guaranteed
|
||||
const playerIdentifiers = getPlayerIdentifiers(src.toString());
|
||||
|
||||
let playerIdentifier;
|
||||
for (const identifier of playerIdentifiers) {
|
||||
if (identifier.includes('license:')) {
|
||||
playerIdentifier = identifier.split(':')[1];
|
||||
}
|
||||
}
|
||||
|
||||
if (!playerIdentifier) return null;
|
||||
return playerIdentifier;
|
||||
};
|
||||
Reference in new issue
Block a user