refactor(package): import shared and declare cache in server/client

This commit is contained in:
Linden
2022-09-18 08:11:25 +10:00
parent 5549fd4cff
commit 7476505ee7
5 changed files with 12 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
import { cache, onCache } from '../../../shared';
cache.playerId = PlayerId();
cache.serverId = GetPlayerServerId(cache.playerId);
export { cache, onCache };