Module oc_wasm_safe::computer[][src]

Structs

A number that can be used as the frequency or duration of a single-tone beep.

Functions

Returns the Minecraft username of the next allowed user in the ACL.

Returns the length, in bytes, of the Minecraft username of the next allowed user in the ACL.

Begins iteration over the computer’s access control list.

Grants access to the computer to a user.

Returns the computer’s own UUID address.

Plays a beep.

Plays a series of beeps.

Returns the width of a Unicode character, in terminal columns.

Returns the amount of CPU time that the computer has consumed, in seconds.

Returns the amount of energy stored in the computer and its network.

Halts the computer with an error.

Returns the amount, in bytes, of RAM installed in the computer.

Returns the maximum amount of energy that can be stored in the computer and its network.

Pops a signal from the signal queue.

Returns the length, in bytes, of the next signal in the signal queue.

Pushes a signal to the signal queue.

Reboots the computer.

Revokes access to the computer from a user.

Shuts down the computer.

Returns the UUID address of a filesystem that lives until the computer shuts down and can beused to hold temporarily files.

Returns the amount of world time the computer has been running, in seconds.

Returns the current in-game time and date, in game ticks.