public void ForceFocus(MasterServerChannel newChannel = MasterServerChannel.None) { FocusCommand command = new FocusCommand() { Action = FocusAction.ForceFocus }; if (newChannel != MasterServerChannel.None) { command.NewChannel = newChannel; } SendCommand(command); }
public FocusCommand(FocusAction action, MasterServerChannel newChannel = MasterServerChannel.None) : this() { Action = action; NewChannel = newChannel; }