mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-04-14 02:51:23 +00:00
It now compiles.
This commit is contained in:
21
src/main/java/dan200/computercraft/api/lua/ILuaObject.java
Normal file
21
src/main/java/dan200/computercraft/api/lua/ILuaObject.java
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* This file is part of the public ComputerCraft API - http://www.computercraft.info
|
||||
* Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only.
|
||||
* For help using the API, and posting your mods, visit the forums at computercraft.info.
|
||||
*/
|
||||
|
||||
package dan200.computercraft.api.lua;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import dan200.computercraft.api.peripheral.IComputerAccess;
|
||||
import dan200.computercraft.api.peripheral.IPeripheral;
|
||||
|
||||
public interface ILuaObject {
|
||||
@Nonnull
|
||||
String[] getMethodNames();
|
||||
|
||||
@Nullable
|
||||
Object[] callMethod(@Nonnull ILuaContext context, int method, @Nonnull Object[] arguments) throws LuaException, InterruptedException;
|
||||
}
|
||||
Reference in New Issue
Block a user