Added draft for NameSelection in party-modes. Just extend CMenuPartyNameSelection in a screen.
Developer could use it or not, using it would make creating party-modes much easier. More additions to this screen will come.
This commit is contained in:
1 parent
830a2a8c9c
commit
14f5c12d9e
11 files changed
+725
-800
No files matched your search
@@ -595,6 +595,21 @@ namespace Vocaluxe.Base
|
||||
{
|
||||
return CProfiles.GetAvatarTextureFromProfile(profileID);
|
||||
}
|
||||
|
||||
public bool IsProfileIDValid(int profileID)
|
||||
{
|
||||
return CProfiles.IsProfileIDValid(profileID);
|
||||
}
|
||||
|
||||
public bool IsGuest(int profileID)
|
||||
{
|
||||
return CProfiles.IsGuestProfile(profileID);
|
||||
}
|
||||
|
||||
public void AddProfileChangedCallback(ProfileChangedCallback notification)
|
||||
{
|
||||
CProfiles.AddProfileChangedCallback(notification);
|
||||
}
|
||||
}
|
||||
|
||||
class CBrecord : IRecording
|
||||
|
||||
@@ -24,16 +24,6 @@ using VocaluxeLib.Draw;
|
||||
|
||||
namespace Vocaluxe.Base
|
||||
{
|
||||
[Flags]
|
||||
public enum EProfileChangedFlags
|
||||
{
|
||||
None = 1,
|
||||
Avatar = 2,
|
||||
Profile = 4
|
||||
}
|
||||
|
||||
public delegate void ProfileChangedCallback(EProfileChangedFlags typeChanged);
|
||||
|
||||
static class CProfiles
|
||||
{
|
||||
#region enums and structs
|
||||
|
||||
Reference in new issue
Block a user