Add player settings feature and settings API
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace RecNet.Domain.Profiles;
|
||||
|
||||
public class PlayerSetting
|
||||
{
|
||||
public Guid UserId { get; private set; }
|
||||
public string Key { get; private set; }
|
||||
public string Value { get; private set; }
|
||||
|
||||
internal PlayerSetting(Guid userId, string key, string value)
|
||||
{
|
||||
UserId = userId;
|
||||
Key = key;
|
||||
Value = value;
|
||||
}
|
||||
|
||||
public void UpdateValue(string value)
|
||||
{
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user