mirror of
https://github.com/SineVector241/VoiceCraft-MCBE_Proximity_Chat.git
synced 2024-09-18 21:00:48 +00:00
21 lines
626 B
C#
21 lines
626 B
C#
namespace VoiceCraft.Core
|
|
{
|
|
public class Channel
|
|
{
|
|
private bool locked;
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
public bool Locked { get => locked || Hidden; set => locked = value; }
|
|
public bool Hidden { get; set; } = false;
|
|
public ChannelOverride? OverrideSettings { get; set; }
|
|
}
|
|
|
|
public class ChannelOverride
|
|
{
|
|
public int ProximityDistance { get; set; } = 30;
|
|
public bool ProximityToggle { get; set; } = true;
|
|
public bool VoiceEffects { get; set; } = true;
|
|
}
|
|
}
|