mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 02:32:55 +02:00
Adding basic Player and Server class definitions
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//Netburner Server class
|
||||
// Parent class for a Server object. PlayerServer and NPCServer inherit from this
|
||||
netburner.Server = {
|
||||
//Connection information
|
||||
ip: "0.0.0.0",
|
||||
isOnline: false,
|
||||
|
||||
ownedByPlayer: false,
|
||||
|
||||
//Properties
|
||||
max_ram: 1, //GB
|
||||
ram_used: 0,
|
||||
|
||||
scripts = [];
|
||||
|
||||
//Manual hack state information
|
||||
is_hacking: false,
|
||||
hacking_progress: 0,
|
||||
};
|
||||
Reference in New Issue
Block a user