Exemple #1
0
        private async void MakeAvailable()
        {
            // TODO: this is incredibly nasty and should definitely not be here over pretty much any other location
            AllColors = await ApiItem.CallForManyAsync <DyeColor>("/v2/colors?ids=all", 5.Days(), true);

            // Add tab with settings in the main Blish HUD window
            GameService.Director.BlishHudWindow.AddTab("Mouse Usability", GameService.Content.GetTexture("mouse-icon"), BuildSettingPanel());
        }