mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-12 18:40:07 +02:00
See description
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings. Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
/**
|
||||
* Class representing a visitable location in the world
|
||||
*/
|
||||
import { CityName } from "./data/CityNames";
|
||||
import { LocationName } from "./data/LocationNames";
|
||||
import { LocationType } from "./LocationTypeEnum";
|
||||
@@ -21,6 +18,7 @@ export interface IConstructorParams {
|
||||
techVendorMinRam?: number;
|
||||
}
|
||||
|
||||
/** Class representing a visitable location in the world */
|
||||
export class Location {
|
||||
/**
|
||||
* Name of city this location is in. If this property is null, it means this i
|
||||
@@ -28,14 +26,10 @@ export class Location {
|
||||
*/
|
||||
city: CityName | null = null;
|
||||
|
||||
/**
|
||||
* Cost multiplier that influences how expensive a gym/university is
|
||||
*/
|
||||
/** Cost multiplier that influences how expensive a gym/university is */
|
||||
costMult = 0;
|
||||
|
||||
/**
|
||||
* Exp multiplier that influences how effective a gym/university is
|
||||
*/
|
||||
/** Exp multiplier that influences how effective a gym/university is */
|
||||
expMult = 0;
|
||||
|
||||
/**
|
||||
@@ -44,9 +38,7 @@ export class Location {
|
||||
*/
|
||||
infiltrationData?: IInfiltrationMetadata;
|
||||
|
||||
/**
|
||||
* Identifier for location
|
||||
*/
|
||||
/** Identifier for location */
|
||||
name: LocationName = LocationName.Void;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user