Skip to content

Commit

Permalink
Add Character Names help link
Browse files Browse the repository at this point in the history
  • Loading branch information
dolphinspired committed Jun 15, 2023
1 parent d294991 commit b929d2c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ValheimServerGUI/Forms/MainWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions ValheimServerGUI/Forms/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ private void InitializeFormEvents()
ButtonSaveLogs.Click += ButtonSaveLogs_Click;
LogsFolderOpenButton.PathFunction = () => Resources.LogsFolderPath;
ButtonPlayerDetails.Click += ButtonPlayerDetails_Click;
LinkCharacterNamesHelp.Click += LinkCharacterNamesHelp_Click;
ButtonRemovePlayer.Click += ButtonRemovePlayer_Click;
CopyButtonServerPassword.CopyFunction = () => ServerPasswordField.Value;
WorldsListRefreshButton.RefreshFunction = WorldsListRefreshButton_Click;
Expand Down Expand Up @@ -550,6 +551,11 @@ private void ButtonPlayerDetails_Click(object sender, EventArgs e)
form.ShowDialog();
}

private void LinkCharacterNamesHelp_Click(object sender, EventArgs e)
{
OpenHelper.OpenWebAddress(Resources.UrlHelpCharacterNames);
}

private void ButtonRemovePlayer_Click(object sender, EventArgs e)
{
if (PlayersTable.TryGetSelectedRow<PlayerInfo>(out var row))
Expand Down
9 changes: 9 additions & 0 deletions ValheimServerGUI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions ValheimServerGUI/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@
<data name="UrlHelp" xml:space="preserve">
<value>https://github.com/runeberry/ValheimServerGUI/wiki</value>
</data>
<data name="UrlHelpCharacterNames" xml:space="preserve">
<value>https://github.com/runeberry/ValheimServerGUI/wiki/Frequently-Asked-Questions</value>
</data>
<data name="UrlPortForwardingGuide" xml:space="preserve">
<value>https://github.com/runeberry/ValheimServerGUI/wiki/Connecting-to-your-Server</value>
</data>
Expand Down

0 comments on commit b929d2c

Please sign in to comment.