1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-05 09:36:19 +00:00
CC-Tweaked/doc/stub/drive.lua
Jonathan Coates 9499654757
Add documentation for peripherals
No clue how we're going to do this for the dynamic peripheral system
if/when that ships, but this is a good first stage.

Like the Java APIs, this relies on stub files, so we can't link to the
implementation which is a bit of a shame. However, it's a good first
step.
2020-06-24 12:12:06 +01:00

13 lines
305 B
Lua

--- @module[kind=peripheral] drive
function isDiskPresent() end
function getDiskLabel() end
function setDiskLabel(label) end
function hasData() end
function getMountPath() end
function hasAudio() end
function getAudioTitle() end
function playAudio() end
function ejectDisk() end
function getDiskID() end