mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
fix: port to core 1
This commit is contained in:
1 parent
fd2e2f9c7b
commit
5e989a16bc
24 files changed
+24
-14
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { NATION_IDS } from "@blitzkit/core";
|
||||
|
||||
export function toUniqueId(nation: string, id: number) {
|
||||
return (id << 8) + (NATION_IDS[nation] << 4) + 1;
|
||||
}
|
||||
Reference in new issue
Block a user