bitburner-src/markdown/bitburner.sleeve.settouniversitycourse.md

39 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2022-11-24 14:19:51 +01:00
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Sleeve](./bitburner.sleeve.md) &gt; [setToUniversityCourse](./bitburner.sleeve.settouniversitycourse.md)
2022-11-24 14:19:51 +01:00
## 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.