mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-18 15:54:54 +00:00
9499654757
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.
13 lines
305 B
Lua
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
|