1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-08 06:31:14 +02:00
Files
openComputers_codes/definitions/component/disk_drive.d.lua
2023-02-01 21:16:58 +01:00

18 lines
450 B
Lua

---@meta
---@class ComponentDiskDrive : Component
local disk_drive = {}
---Eject the currently present medium from the drive.
---@param velocity? number
---@return boolean
function disk_drive.eject(velocity) end
---Check whether some medium is currently in the drive.
---@return boolean
function disk_drive.isEmpty() end
---Return the internal floppy disk address.
---@return string|nil address, string|nil reason
function disk_drive.media() end