mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-11 07:47:33 +01:00
Cleanup of code
This commit is contained in:
parent
51edac414e
commit
66fbec5365
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
interface Player {
|
interface Player {
|
||||||
hacking: number;
|
hacking: number;
|
||||||
hp: number;
|
hp: number;
|
||||||
max_hp: number;
|
max_hp: number;
|
||||||
@ -113,7 +113,7 @@ interface RunningScript {
|
|||||||
* Interface of a netscript port
|
* Interface of a netscript port
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export interface IPort {
|
export interface IPort {
|
||||||
/** write data to the port and removes and returns first element if full */
|
/** write data to the port and removes and returns first element if full */
|
||||||
write: (value: any) => any;
|
write: (value: any) => any;
|
||||||
/** add data to port if not full.
|
/** add data to port if not full.
|
||||||
|
Loading…
Reference in New Issue
Block a user