@inject IJSRuntime jsRuntime; @inject IBuildOrderService buildOrderService @inject IEconomyService economyService @inject IToastService toastService @inject ITimingService timingService Building Input Delay Add a input delay to constructing buildings for simulating worker movement and player micro. Wait Time Not implemented Add Wait @code { void OnBuildingInputDelayChanged(ChangeEventArgs changeEventArgs) { buildOrderService.BuildingInputDelay = int.Parse(changeEventArgs.Value!.ToString()!); } void OnWaitTimeChanged(ChangeEventArgs changeEventArgs) { toastService.AddToast(new ToastModel { Title = "Not Implemented", SeverityType = SeverityType.Warning, Message = "The ability to wait for X seconds in a build order hasn't been implemented yet." }); } public void OnWaitClicked() { toastService.AddToast(new ToastModel { Title = "Not Implemented", SeverityType = SeverityType.Warning, Message = "The ability to wait for X seconds in a build order hasn't been implemented yet." }); } protected override bool ShouldRender() { #if DEBUG jsRuntime.InvokeVoidAsync("console.time", "TimingComponent"); #endif return true; } protected override void OnAfterRender(bool firstRender) { #if DEBUG jsRuntime.InvokeVoidAsync("console.timeEnd", "TimingComponent"); #endif } }