mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-04-04 14:11:23 +00:00
19 lines
620 B
Java
19 lines
620 B
Java
/*
|
|
* 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;
|
|
|
|
public interface ILuaObject {
|
|
@Nonnull
|
|
String[] getMethodNames();
|
|
|
|
@Nullable
|
|
Object[] callMethod(@Nonnull ILuaContext context, int method, @Nonnull Object[] arguments) throws LuaException, InterruptedException;
|
|
}
|