Adding new Races, Main Menu -> Lobby flow, and what's needed to set up multiplayer testing.
This commit is contained in:
parent
60fa58b07f
commit
fdada6f132
29 changed files with 2581 additions and 176 deletions
|
|
@ -73,14 +73,24 @@ namespace TD.Core
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Identifies the race a player has chosen in the race-pick phase.
|
||||
/// Backed by byte. Specific race values are defined in Phase 1.8.
|
||||
/// Stable identifier per race. Values 1-16 reserve slots for the planned
|
||||
/// 16-race grid in the lobby; only races with a corresponding
|
||||
/// <c>RaceDefinition</c> asset registered with <c>RaceRegistry</c> are
|
||||
/// playable. Unregistered slots render as "Coming Soon" in the selection UI.
|
||||
///
|
||||
/// Names are intentionally generic so display names / lore can be authored
|
||||
/// on the asset without renaming the enum — renaming would change byte
|
||||
/// values and break save data once persistence lands.
|
||||
/// </summary>
|
||||
public enum RaceId : byte
|
||||
{
|
||||
/// <summary>No race selected yet (lobby / pre-pick).</summary>
|
||||
None = 0,
|
||||
// Race entries added in Phase 1.8.
|
||||
|
||||
Race1 = 1, Race2 = 2, Race3 = 3, Race4 = 4,
|
||||
Race5 = 5, Race6 = 6, Race7 = 7, Race8 = 8,
|
||||
Race9 = 9, Race10 = 10, Race11 = 11, Race12 = 12,
|
||||
Race13 = 13, Race14 = 14, Race15 = 15, Race16 = 16,
|
||||
}
|
||||
|
||||
public enum PlayerSlot : byte
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue