diff --git a/IGP/IGP.csproj b/IGP/IGP.csproj index 91f2ef3..ddd4f0f 100644 --- a/IGP/IGP.csproj +++ b/IGP/IGP.csproj @@ -40,6 +40,7 @@ + diff --git a/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor b/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor index b95042e..3f29f86 100644 --- a/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor +++ b/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor @@ -19,21 +19,6 @@ Build Calculator - - Work In Progress and Not Fully Tested - - Build Calculator hasn't been thoroughly tested. Bugs and inaccurate results assumed. -
- Currently not considering running out of alloy and ether to harvest. -
-
- Build Calculator was built based on a much older version of the game and was only quickly modified for the - June 2025 Playtest version, so the above disclaimer is only more true. -
- Expect even more oddities and invalid data then the above warning implies. -
-
-
diff --git a/IGP/Pages/BuildCalculator/Parts/BuildOrderComponent.razor b/IGP/Pages/BuildCalculator/Parts/BuildOrderComponent.razor index 1e29c20..a58e8bf 100644 --- a/IGP/Pages/BuildCalculator/Parts/BuildOrderComponent.razor +++ b/IGP/Pages/BuildCalculator/Parts/BuildOrderComponent.razor @@ -5,13 +5,17 @@ @implements IDisposable - - + @code { + /** + // TODO: Make this more elegant, and useful. Also, it currently doesn't clear properly + + + */ protected override void OnInitialized() { diff --git a/IGP/Pages/BuildCalculator/Parts/EntityClickViewComponent.razor b/IGP/Pages/BuildCalculator/Parts/EntityClickViewComponent.razor index 3050196..cb8b79a 100644 --- a/IGP/Pages/BuildCalculator/Parts/EntityClickViewComponent.razor +++ b/IGP/Pages/BuildCalculator/Parts/EntityClickViewComponent.razor @@ -1,7 +1,6 @@ @inject IJSRuntime JsRuntime @inject IKeyService KeyService @inject IImmortalSelectionService FilterService -@inject IBuildOrderService BuildOrderService @inject IStorageService StorageService @using Services.Website @implements IDisposable @@ -51,21 +50,6 @@ _viewType = StorageService.GetValue(StorageKeys.IsPlainView) ? EntityViewType.Plain : EntityViewType.Detailed; } - protected override bool ShouldRender() - { -#if DEBUG - JsRuntime.InvokeVoidAsync("console.time", "EntityClickViewComponent"); -#endif - return true; - } - - protected override void OnAfterRender(bool firstRender) - { -#if DEBUG - JsRuntime.InvokeVoidAsync("console.timeEnd", "EntityClickViewComponent"); -#endif - } - private void HandleClick() { var hotkey = KeyService.GetHotkey(); @@ -74,6 +58,8 @@ var faction = FilterService.GetFaction(); var immortal = FilterService.GetImmortal(); + Console.WriteLine(hotkey); + var foundEntity = EntityModel.GetFrom(hotkey!, hotkeyGroup, isHoldSpace, faction, immortal); if (foundEntity != null && _entity != foundEntity) @@ -82,5 +68,4 @@ StateHasChanged(); } } - } \ No newline at end of file diff --git a/IGP/Pages/DataTables/DataTablesPage.razor b/IGP/Pages/DataTables/DataTablesPage.razor index f5ecf65..eaf4326 100644 --- a/IGP/Pages/DataTables/DataTablesPage.razor +++ b/IGP/Pages/DataTables/DataTablesPage.razor @@ -6,14 +6,6 @@ Data Tables - - - Errors Present - - Incomplete feature for easily comparing unit stats. - - - @@ -29,7 +21,6 @@ - @@ -43,10 +34,7 @@ attack belongs to. - - -