Adds preference unavailable setting to profiles.
This commit is contained in:
@@ -48,6 +48,7 @@ namespace Content.Server.Database
|
||||
public string EyeColor { get; set; } = null!;
|
||||
public string SkinColor { get; set; } = null!;
|
||||
public List<Job> Jobs { get; } = new List<Job>();
|
||||
public DbPreferenceUnavailableMode PreferenceUnavailable { get; set; }
|
||||
|
||||
public int PrefsId { get; set; }
|
||||
public Prefs Prefs { get; set; } = null!;
|
||||
@@ -70,4 +71,11 @@ namespace Content.Server.Database
|
||||
Medium = 2,
|
||||
High = 3
|
||||
}
|
||||
|
||||
public enum DbPreferenceUnavailableMode
|
||||
{
|
||||
// These enum values HAVE to match the ones in PreferenceUnavailableMode in Shared.
|
||||
StayInLobby = 0,
|
||||
SpawnAsOverflow,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user