public Mute ( [ player, System.TimeSpan duration, bool announce, bool raiseEvents ) : void | ||
player | [ | Player who is doing the muting. |
duration | System.TimeSpan | Duration of the mute. If a player is already muted for same or greater length of time, /// PlayerOpException is thrown with NoActionNeeded code. If a player is already muted for a shorter length of time, /// the mute duration is extended. |
announce | bool | Whether to announce muting publicly on the sever. |
raiseEvents | bool | Whether to raise PlayerInfo.MuteChanging and MuteChanged events. |
return | void |