1
0
mirror of https://github.com/SineVector241/VoiceCraft-MCBE_Proximity_Chat.git synced 2024-09-18 21:00:48 +00:00
VoiceCraft-MCBE_Proximity_Chat/VoiceCraft.Core/Channel.cs
2024-07-06 14:18:49 +10:00

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;
}
}