Browse Source

Updating game patch version to correct patch

main
Jonathan 1 year ago
parent
commit
3d10256b9f
  1. 6
      IGP/Pages/Database/DatabasePage.razor
  2. 4
      IGP/Pages/Database/DatabaseSinglePage.razor
  3. 6
      Model/Variables.cs

6
IGP/Pages/Database/DatabasePage.razor

@ -2,10 +2,10 @@
@inherits BasePage @inherits BasePage
@page "/database" @page "/database"
@using Model
@implements IDisposable @implements IDisposable
@inject IEntityDisplayService EntityDisplayService @inject IEntityDisplayService EntityDisplayService
@inject IVariableService VariableService
<LayoutLargeContentComponent> <LayoutLargeContentComponent>
@ -14,7 +14,7 @@
<PaperComponent> <PaperComponent>
<FormDisplayComponent Label="Patch"> <FormDisplayComponent Label="Patch">
<Display> <Display>
Game Patch: @VariableService.Variables["GamePatch"] Game Patch: @Variables.GamePatch
</Display> </Display>
</FormDisplayComponent> </FormDisplayComponent>
</PaperComponent> </PaperComponent>
@ -72,7 +72,7 @@
Is this database updated to the latest version? Is this database updated to the latest version?
</InfoQuestionComponent> </InfoQuestionComponent>
<InfoAnswerComponent> <InfoAnswerComponent>
Maybe. Check this <b>@VariableService.Variables["GamePatch"]</b> version number, and compare it to the Maybe. Check this <b>@Variables.GamePatch</b> version number, and compare it to the
number on discord, in the <b>#game-updates</b> channel. That should give a general sense of how out of number on discord, in the <b>#game-updates</b> channel. That should give a general sense of how out of
date the data is. date the data is.
</InfoAnswerComponent> </InfoAnswerComponent>

4
IGP/Pages/Database/DatabaseSinglePage.razor

@ -5,8 +5,8 @@
@page "/database/{text}" @page "/database/{text}"
@inject IEntityDisplayService EntityDisplayService @inject IEntityDisplayService EntityDisplayService
@inject IVariableService VariableService
@using Model
@implements IDisposable @implements IDisposable
@ -14,7 +14,7 @@
<PaperComponent> <PaperComponent>
<FormDisplayComponent Label="Patch"> <FormDisplayComponent Label="Patch">
<Display> <Display>
Game Patch: @VariableService.Variables["GamePatch"] Game Patch: @Variables.GamePatch
</Display> </Display>
</FormDisplayComponent> </FormDisplayComponent>
</PaperComponent> </PaperComponent>

6
Model/Variables.cs

@ -0,0 +1,6 @@
namespace Model;
public static class Variables
{
public static string GamePatch = "0.0.6.10125a";
}
Loading…
Cancel
Save