public DSRComponent(LiveSplitState state)
        {
            gameProcess    = new DSRProcess();
            dsigt          = new DSRIGT(gameProcess);
            inventoryReset = new DSRInventoryReset(gameProcess);
            settings       = new DSRSettings();

            this.state = state;
            this.state.IsGameTimePaused = true;
            this.state.OnReset         += (sender, value) => { Reset(); };
            this.state.OnStart         += (sender, e) => { Reset(); };
        }
 public DSRIGT(DSRProcess gameProcess)
 {
     this.gameProcess = gameProcess;
     this.gameProcess.ProcessHooked    += GameProcess_ProcessHooked;
     this.gameProcess.ProcessHasExited += GameProcess_ProcessHasExited;
 }
Exemplo n.º 3
0
 public DSRInventoryReset(DSRProcess gameProcess)
 {
     this.gameProcess = gameProcess;
     this.gameProcess.ProcessHooked    += GameProcess_ProcessHooked;
     this.gameProcess.ProcessHasExited += GameProcess_ProcessHasExited;
 }