mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 10:13:52 +01:00
25 lines
562 B
TypeScript
25 lines
562 B
TypeScript
// Interface that represents either the player (PlayerObject) or
|
|
// a Sleeve. Used for functions that need to take in both.
|
|
|
|
export interface IPlayerOrSleeve {
|
|
// Stats
|
|
hacking_skill: number;
|
|
strength: number;
|
|
defense: number;
|
|
dexterity: number;
|
|
agility: number;
|
|
charisma: number;
|
|
intelligence: number;
|
|
|
|
// Experience
|
|
hacking_exp: number;
|
|
strength_exp: number;
|
|
defense_exp: number;
|
|
dexterity_exp: number;
|
|
agility_exp: number;
|
|
charisma_exp: number;
|
|
|
|
// Multipliers
|
|
crime_success_mult: number;
|
|
}
|