예제 #1
0
    def mute(self, receivers=None):
        """Mute the player.

        See players.voice.mute_manager.mute_player for more information.
        """
        mute_manager.mute_player(self.index, receivers)
예제 #2
0
    def mute(self, receivers=None):
        """Mute the player.

        See players.voice.mute_manager.mute_player for more information.
        """
        mute_manager.mute_player(self.index, receivers)
def sync_voice_blocked_players():
    for player in PlayerIter('human'):
        if blocked_voice_user_manager.is_blocked(player.steamid):
            mute_manager.mute_player(player.index)
        else:
            mute_manager.unmute_player(player.index)