Skip to main content

MuteNonFriendsQuickAccessAction

A class in Root.Township, Alta.QuickAccessActions.

Quick access menu action that cycles the voice chat audible scope (everyone, friends and so on). Client only.

Constructors​

MemberWhat it is
MuteNonFriendsQuickAccessAction()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private IVoiceChat voiceChatVoice chat used by IsActive. Never assigned in this code, so IsActive always reads true.

Properties​

MemberWhat it is
override bool IsActive { get; }True unless the audible scope is Everyone. Also true when voiceChat is null, which it always is in this build since nothing assigns it.
override bool IsValid { get; }Always true.

Methods​

MemberWhat it is
override void Run(Controller controller)Calls CycleAudibleScope on the resolved voice chat to move to the next audible scope.

Used in​

Members of other types that take, return or hold a MuteNonFriendsQuickAccessAction: