Example #1
0
        public BsGodHackManager(BsGodGuiManager guiManager, BsGodPlayerManager playerManager)
        {
            _guiManager    = guiManager;
            _playerManager = playerManager;

            _wallHackModule   = new WallHackModule(_playerManager);
            _aimHackModule    = new AimHackModule(_playerManager);
            _speedHackModule  = new SpeedHackModule(_playerManager);
            _flyHackModule    = new FlyHackModule(_playerManager);
            _recoilHackModule = new RecoilHackModule(_playerManager);

            _guiManager.OnAimHackClicked    += OnAimHackClicked;
            _guiManager.OnWallHackClicked   += OnWallHackClicked;
            _guiManager.OnSpeedHackClicked  += OnSpeedHackClicked;
            _guiManager.OnFlyHackClicked    += OnFlyHackClicked;
            _guiManager.OnRecoilHackClicked += OnRecoilHackClicked;

            _hackModules = new BaseHackModule[]
            {
                _wallHackModule,
                _aimHackModule,
                _flyHackModule,
                _speedHackModule,
                _recoilHackModule,
            };
        }
Example #2
0
 public BsGodPlayerManager(BsGodGuiManager guiManager)
 {
     _guiManager = guiManager;
 }