feat(Variables) Added variable service and new game patch

This commit is contained in:
2022-04-18 18:28:56 -04:00
parent 72286f9f7b
commit c0c4e251a0
15 changed files with 86 additions and 10 deletions
+3 -2
View File
@@ -5,6 +5,7 @@
@implements IDisposable
@inject IEntityDisplayService entityDisplayService
@inject IVariableService variableService
<LayoutLargeContentComponent>
<WebsiteTitleComponent>Database</WebsiteTitleComponent>
@@ -12,7 +13,7 @@
<PaperComponent>
<FormDisplayComponent Label="Patch">
<Display>
Game Patch: @EntityModel.GameVersion
Game Patch: @variableService.Variables["GamePatch"]
</Display>
</FormDisplayComponent>
</PaperComponent>
@@ -66,7 +67,7 @@
Is this database updated to the latest version?
</InfoQuestionComponent>
<InfoAnswerComponent>
Maybe. Check this <b>@EntityModel.GameVersion</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 date the data is.
Maybe. Check this <b>@variableService.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 date the data is.
</InfoAnswerComponent>
</InfoBodyComponent>