public interface ILuaObject
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
callMethod(ILuaContext context,
int method,
java.lang.Object[] arguments)
Called when a user calls one of the methods that this object implements.
|
java.lang.String[] |
getMethodNames()
Get the names of the methods that this object implements.
|
java.lang.String[] getMethodNames()
IPeripheral.getMethodNames()
java.lang.Object[] callMethod(ILuaContext context, int method, java.lang.Object[] arguments) throws LuaException, java.lang.InterruptedException
LuaException
java.lang.InterruptedException
IPeripheral.callMethod(dan200.computercraft.api.peripheral.IComputerAccess, ILuaContext, int, Object[])