mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
cacecda72f
* API: Add types for parameters of gym-university-bladeburner API * Fix merging error
39 lines
1.3 KiB
Markdown
39 lines
1.3 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToUniversityCourse](./bitburner.sleeve.settouniversitycourse.md)
|
|
|
|
## Sleeve.setToUniversityCourse() method
|
|
|
|
Set a sleeve to take a class at a university.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
setToUniversityCourse(
|
|
sleeveNumber: number,
|
|
universityName: UniversityLocationName | `${UniversityLocationName}`,
|
|
courseName: UniversityClassType | `${UniversityClassType}`,
|
|
): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| sleeveNumber | number | Index of the sleeve to start taking class. |
|
|
| universityName | [UniversityLocationName](./bitburner.universitylocationname.md) \| \`${[UniversityLocationName](./bitburner.universitylocationname.md)<!-- -->}\` | Name of the university to attend. |
|
|
| courseName | [UniversityClassType](./bitburner.universityclasstype.md) \| \`${[UniversityClassType](./bitburner.universityclasstype.md)<!-- -->}\` | Name of the course to follow. |
|
|
|
|
**Returns:**
|
|
|
|
boolean
|
|
|
|
True if this action was set successfully, false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Return a boolean indicating whether or not this action was set successfully.
|
|
|