Ejemplo n.º 1
0
        private void Run(bool allowCmd)
        {
            if (_ran)
            {
                return;
            }

            if (!_socketFailed && allowCmd)
            {
                if (InternalUtils.AcControlPointExecute(InternalUtils.AcControlPointCommand.StartGame))
                {
                    _ran = true;
                    return;
                }

                _socketFailed = true;
            }

            if (IsAcWindowActive())
            {
                AcMousePretender.ClickStartButton();
            }
        }