API: Fix #3661 Add missing memory property to Sleeve API

fixes #3661

Add the missing memory stat to NS.SleeveSkills Interface.
Update ns.Sleeve.GetSleeveStats accordingly.
(fixing commit issue)
This commit is contained in:
borisflagell 2022-05-23 19:50:32 +02:00
parent 27bf6cba39
commit ff75097149
2 changed files with 3 additions and 0 deletions

@ -38,6 +38,7 @@ export function NetscriptSleeve(player: IPlayer): InternalAPI<ISleeve> {
return {
shock: 100 - sl.shock,
sync: sl.sync,
memory: sl.memory,
hacking: sl.hacking,
strength: sl.strength,
defense: sl.defense,

@ -1050,6 +1050,8 @@ export interface SleeveSkills {
shock: number;
/** Current sync of the sleeve [0-100] */
sync: number;
/** Current memory of the sleeve [1-100] */
memory: number;
/** Current hacking skill of the sleeve */
hacking: number;
/** Current strength of the sleeve */