mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
cacecda72f
* API: Add types for parameters of gym-university-bladeburner API * Fix merging error
1.3 KiB
1.3 KiB
Home > bitburner > Sleeve > setToUniversityCourse
Sleeve.setToUniversityCourse() method
Set a sleeve to take a class at a university.
Signature:
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 | `${UniversityLocationName}` | Name of the university to attend. |
courseName | UniversityClassType | `${UniversityClassType}` | 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.