bitburner-src/markdown/bitburner.sleeve.settouniversitycourse.md
catloversg cacecda72f
API: Add types for parameters of gym-university-bladeburner API (Fix merging error) (#1596)
* API: Add types for parameters of gym-university-bladeburner API
* Fix merging error
2024-08-17 14:08:55 -07:00

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.