mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
19 lines
469 B
JavaScript
19 lines
469 B
JavaScript
/* Holds IP of Special Servers */
|
|
function SpecialServerIpsMap() {
|
|
}
|
|
|
|
SpecialServerIpsMap.prototype.addIp = function(name, ip) {
|
|
this[name] = ip;
|
|
}
|
|
|
|
SpecialServerIpsMap.prototype.toJSON = function() {
|
|
return Generic_toJSON("SpecialServerIpsMap", this);
|
|
}
|
|
|
|
SpecialServerIpsMap.fromJSON = function(value) {
|
|
return Generic_fromJSON(SpecialServerIpsMap, value.data);
|
|
}
|
|
|
|
Reviver.constructors.SpecialServerIpsMap = SpecialServerIpsMap();
|
|
|
|
SpecialServerIps = null; |