<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [WorkFormulas](./bitburner.workformulas.md) &gt; [classGains](./bitburner.workformulas.classgains.md)

## WorkFormulas.classGains() method

<b>Signature:</b>

```typescript
classGains(player: Player, classType: string, locationName: string): WorkStats;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  player | [Player](./bitburner.player.md) |  |
|  classType | string |  |
|  locationName | string |  |

<b>Returns:</b>

[WorkStats](./bitburner.workstats.md)