Exemplo n.º 1
0
        static GameService()
        {
            // Init game services
            Debug           = new DebugService();
            Input           = new InputService();
            Store           = new PersistentStoreService();
            Settings        = new SettingsService();
            Content         = new ContentService();
            Animation       = new AnimationService();
            Graphics        = new GraphicsService();
            Overlay         = new OverlayService();
            Gw2Api          = new Gw2ApiService();
            Gw2Mumble       = new Gw2MumbleService();
            Player          = new PlayerService();
            Camera          = new CameraService();
            GameIntegration = new GameIntegrationService();
            Hotkeys         = new HotkeysService();
            Pathing         = new PathingService();
            Module          = new ModuleService();
            ArcDps          = new ArcDpsService();

            _allServices = new GameService[] {
                Debug,
                Store,
                Settings,
                Content,
                Animation,
                Graphics,
                Overlay,
                Gw2Api,
                Gw2Mumble,
                Player,
                Camera,
                Input,
                GameIntegration,
                Hotkeys,
                Pathing,
                Module,
                ArcDps
            };
        }
Exemplo n.º 2
0
        static GameService()
        {
            // Init game services
            Debug           = new DebugService();
            Input           = new InputService();
            Store           = new PersistentStoreService();
            Settings        = new SettingsService();
            Content         = new ContentService();
            Gw2Mumble       = new Gw2MumbleService();
            Gw2WebApi       = new Gw2WebApiService();
            Animation       = new AnimationService();
            Graphics        = new GraphicsService();
            Overlay         = new OverlayService();
            GameIntegration = new GameIntegrationService();
            Pathing         = new PathingService();
            Module          = new ModuleService();
            ArcDps          = new ArcDpsService();
            Contexts        = new ContextsService();

            _allServices = new GameService[] {
                Debug,
                Store,
                Settings,
                Content,
                Gw2Mumble,
                Gw2WebApi,
                Animation,
                Graphics,
                Overlay,
                Input,
                GameIntegration,
                Pathing,
                Module,
                ArcDps,
                Contexts
            };
        }