-
-
Notifications
You must be signed in to change notification settings - Fork 115
Rework partial GameModeMap and GameLobby codes #719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+639
−402
Closed
Changes from 4 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
053f634
Rework partial GameModeMap and GameLobby codes
SadPencil 629a5df
Update AutoAllyingTextNoPlayerV2
SadPencil c3dd0fb
Update PlayerExtraOptionsPanel.cs
SadPencil f926d0e
Update MultiplayerGameLobby.cs
SadPencil 31bfca1
Merge branch 'develop' into rework-gamemodemap-gamelobby
SadPencil e7fd6ca
random -> pseudoRandom
SadPencil dd4ca90
random -> pseudoRandom
SadPencil 50a0d01
Fix rework gamemodemap
SadPencil 0890c43
Update migration documents
SadPencil 0aea75a
Update migration documents for recent changes
SadPencil 3d0aecc
Replace doc URLs with relative ones
SadPencil 871438b
Remove unnecessary migration document items
SadPencil 0374a0d
Improve `ChatListBox` link handling (#734)
MahBoiDeveloper dcd73d1
Add AssemblyTitle to the main client executable (#739)
SadPencil 662e8af
Fix bug when YR client shows missing required files text for like Are…
MahBoiDeveloper c486f9d
Fix UTF-8 with BOM is introduced in the generated `spawnmap.ini` file…
SadPencil c0ef06e
Add `discord.gg` as trusted domain (#745)
MahBoiDeveloper fb8e3cf
Refactor the ranks in `GameLobbyBase` class (#713)
MahBoiDeveloper 78b8c8c
Merge YR branch changes (add inactive host check, fix disallowed side…
MahBoiDeveloper 722f080
Fix broken screenshot processing for Ares (#747)
SadPencil b6336ad
Update XNAUI to 2.7.10 version (#746)
MahBoiDeveloper 4d97ac1
Add issue templates (#722)
MahBoiDeveloper 28c4480
Fix `LoadOrSaveGameOptionPresetWindow` cannot be customized via an in…
SadPencil c5d7ca6
Implement `GetStringListValue` and rework get list values from `IniFi…
MahBoiDeveloper 2e94ed6
Merge branch 'develop' into rework-gamemodemap-gamelobby
SadPencil 4cd232b
RampastringToolsExtensions -> IniFileExtensions
SadPencil 37c83b6
Increase CurrentCustomMapCacheVersion
SadPencil 2a8d049
Merge branch 'develop' into rework-gamemodemap-gamelobby
SadPencil 1d9a0dc
Fix unexpected random location on AllowedStartingLocations
SadPencil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #nullable enable | ||
| using System; | ||
| using System.Collections.Generic; | ||
|
|
||
| using Rampastring.Tools; | ||
|
|
||
| namespace ClientCore.Extensions | ||
| { | ||
| public static class RampastringToolsExtensions | ||
| { | ||
| public static string? GetStringValueOrNull(this IniSection section, string key) => | ||
| section.KeyExists(key) ? section.GetStringValue(key, string.Empty) : null; | ||
|
|
||
| public static int? GetIntValueOrNull(this IniSection section, string key) => | ||
| section.KeyExists(key) ? section.GetIntValue(key, 0) : null; | ||
|
|
||
| public static bool? GetBooleanValueOrNull(this IniSection section, string key) => | ||
| section.KeyExists(key) ? section.GetBooleanValue(key, false) : null; | ||
|
|
||
| public static List<T>? GetListValueOrNull<T>(this IniSection section, string key, char separator, Func<string, T> converter) => | ||
| section.KeyExists(key) ? section.GetListValue<T>(key, separator, converter) : null; | ||
|
|
||
|
|
||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
188 changes: 125 additions & 63 deletions
188
DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.