mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
work on making the netscript api tighter
This commit is contained in:
33
markdown/bitburner.ns.getserverbasesecuritylevel.md
Normal file
33
markdown/bitburner.ns.getserverbasesecuritylevel.md
Normal file
@@ -0,0 +1,33 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerBaseSecurityLevel](./bitburner.ns.getserverbasesecuritylevel.md)
|
||||
|
||||
## NS.getServerBaseSecurityLevel() method
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> DEPRECATED
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getServerBaseSecurityLevel(host: string): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| host | string | Host of target server. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
number
|
||||
|
||||
Base security level of the target server.
|
||||
|
||||
## Remarks
|
||||
|
||||
RAM cost: 0.1 GB Returns the base security level of the target server. This is the security level that the server starts out with. This is different than getServerSecurityLevel because getServerSecurityLevel returns the current security level of a server, which can constantly change due to hack, grow, and weaken, calls on that server. The base security level will stay the same until you reset by installing an Augmentation(s).
|
||||
|
||||
Reference in New Issue
Block a user