1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-02 01:53:21 +00:00
CC-Tweaked/doc/stub/printer.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

12 lines
285 B
Lua

--- @module[kind=peripheral] printer
function write(text) end
function getCursorPos() end
function setCursorPos(x, y) end
function getPageSize() end
function newPage() end
function endPage() end
function setPageTitle(title) end
function getInkLevel() end
function getPaperLevel() end