mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
API: FIX#2884 Add the missing className property to Sleeve'sAPI
fixes #2884.
This commit is contained in:
parent
27bf6cba39
commit
051393fac9
@ -190,6 +190,7 @@ export function NetscriptSleeve(player: IPlayer): InternalAPI<ISleeve> {
|
|||||||
location: sl.currentTaskLocation,
|
location: sl.currentTaskLocation,
|
||||||
gymStatType: sl.gymStatType,
|
gymStatType: sl.gymStatType,
|
||||||
factionWorkType: FactionWorkType[sl.factionWorkType],
|
factionWorkType: FactionWorkType[sl.factionWorkType],
|
||||||
|
className: sl.className,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
getInformation:
|
getInformation:
|
||||||
|
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -1110,6 +1110,8 @@ export interface SleeveTask {
|
|||||||
gymStatType: string;
|
gymStatType: string;
|
||||||
/** Faction work type being performed, if any */
|
/** Faction work type being performed, if any */
|
||||||
factionWorkType: string;
|
factionWorkType: string;
|
||||||
|
/** Class being taken at university, if any */
|
||||||
|
className: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user