mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
refactor(server/calls): Calls singleton architecture
This commit is contained in:
1 parent
33a02bb203
commit
cb9c490cb5
4 files changed
+173
-139
No files matched your search
@@ -6,6 +6,11 @@ export const config: IServerConfig = JSON.parse(
|
||||
LoadResourceFile(GetCurrentResourceName(), 'config.json'),
|
||||
);
|
||||
|
||||
// Setup controllers
|
||||
import './db';
|
||||
import 'players/player.controller';
|
||||
import 'calls/calls.controller';
|
||||
|
||||
import './db';
|
||||
import './sv_twitter';
|
||||
import './sv_main';
|
||||
@@ -17,7 +22,6 @@ import './sv_photo';
|
||||
import './sv_messages';
|
||||
import './sv_match';
|
||||
import './sv_call';
|
||||
import './players/sv_player_events';
|
||||
import { mainLogger } from './sv_logger';
|
||||
|
||||
export let ESX: Server = null;
|
||||
|
||||
Reference in new issue
Block a user