feat(package): cache

This commit is contained in:
Linden
2022-09-18 00:48:04 +10:00
parent 1dbfd01f48
commit 95dd3b1838
4 changed files with 31 additions and 1 deletions

View File

@@ -1,4 +1,9 @@
import * as lib from './resource';
export * from './resource';
import { cache, onCache } from '../shared/resource';
cache.playerId = PlayerId();
cache.serverId = GetPlayerServerId(cache.playerId);
export { cache, onCache };
export * from './resource';
export default lib;