# ProgressionTracker

### Static Functions:

#### .Find

`ProgressionTracker.Find(name: string, searchDisabledSlices: boolean)`: [GameSlice](https://sneakyevil.gitbook.io/sleeping-dogs-de-script-api/game-classes/gameslice)

| Argument             | Type   | Description            |
| -------------------- | ------ | ---------------------- |
| name                 | string | Name of the game slice |
| searchDisabledSlices | string | -                      |

Returns GameSlice object when found, otherwise null.

#### .ForceSliceChange

`ProgressionTracker.ForceSliceChange(slice: GameSlice, simulateRewards: boolean)`

| Argument        | Type      | Description      |
| --------------- | --------- | ---------------- |
| slice           | GameSlice | GameSlice object |
| simulateRewards | boolean   | -                |

Will change progression to the desired GameSlice.

#### .MoveAllSlicesInDisabledList

`ProgressionTracker.MoveAllSlicesInDisabledList()`

Will move all loaded GameSlices to disabled list resulting them to do nothing, this might be useful if you trying to load desired GameSlice and the game keeps restoring to old GameSlice, but this can result in game crash!
