Refactor PartyModes in preparation for a more unified name selection and maybe config
This commit is contained in:
1 parent
29dccbd8ae
commit
84e9163b96
22 files changed
+386
-426
No files matched your search
@@ -79,9 +79,24 @@ namespace VocaluxeLib.PartyModes
|
||||
}
|
||||
#endregion Structs
|
||||
|
||||
public interface IPartyMode
|
||||
public interface IPartyModeInfo
|
||||
{
|
||||
int ID { get; }
|
||||
int MinMics { get; }
|
||||
int MaxMics { get; }
|
||||
int MinPlayers { get; }
|
||||
int MaxPlayers { get; }
|
||||
int MinTeams { get; }
|
||||
int MaxTeams { get; }
|
||||
int MinPlayersPerTeam { get; }
|
||||
int MaxPlayersPerTeam { get; }
|
||||
}
|
||||
|
||||
public interface IPartyMode : IPartyModeInfo
|
||||
{
|
||||
int NumPlayers { get; set; }
|
||||
int NumTeams { get; set; }
|
||||
|
||||
bool Init();
|
||||
|
||||
void LoadTheme();
|
||||
@@ -99,14 +114,6 @@ namespace VocaluxeLib.PartyModes
|
||||
void OnSongChange(int songIndex, ref SScreenSongOptions screenSongOptions);
|
||||
void OnCategoryChange(int categoryIndex, ref SScreenSongOptions screenSongOptions);
|
||||
|
||||
int GetMaxPlayer();
|
||||
int GetMinPlayer();
|
||||
int GetMaxTeams();
|
||||
int GetMinTeams();
|
||||
int GetMinPlayerPerTeam();
|
||||
int GetMaxPlayerPerTeam();
|
||||
int GetMaxNumRounds();
|
||||
|
||||
void SetSearchString(string searchString, bool visible);
|
||||
|
||||
void JokerUsed(int teamNr);
|
||||
|
||||
Reference in new issue
Block a user