Search in sources :

Example 1 with BaseWrapperClass

use of logisticspipes.proxy.opencomputers.asm.BaseWrapperClass in project LogisticsPipes by RS485.

the class LogisticsTileGenericPipe method invoke.

@Override
@ModDependentMethod(modId = LPConstants.openComputersModID)
public Object[] invoke(String s, Context context, Arguments arguments) throws Exception {
    BaseWrapperClass object = (BaseWrapperClass) CCObjectWrapper.getWrappedObject(pipe, BaseWrapperClass.WRAPPER);
    object.isDirectCall = true;
    return CCObjectWrapper.createArray(object);
}
Also used : BaseWrapperClass(logisticspipes.proxy.opencomputers.asm.BaseWrapperClass) ModDependentMethod(logisticspipes.asm.ModDependentMethod)

Example 2 with BaseWrapperClass

use of logisticspipes.proxy.opencomputers.asm.BaseWrapperClass in project LogisticsPipes by RS485.

the class LogisticsSolidTileEntity method invoke.

@Override
@ModDependentMethod(modId = LPConstants.openComputersModID)
public Object[] invoke(String s, Context context, Arguments arguments) throws Exception {
    BaseWrapperClass object = (BaseWrapperClass) CCObjectWrapper.getWrappedObject(this, BaseWrapperClass.WRAPPER);
    object.isDirectCall = true;
    return CCObjectWrapper.createArray(object);
}
Also used : BaseWrapperClass(logisticspipes.proxy.opencomputers.asm.BaseWrapperClass) ModDependentMethod(logisticspipes.asm.ModDependentMethod)

Aggregations

ModDependentMethod (logisticspipes.asm.ModDependentMethod)2 BaseWrapperClass (logisticspipes.proxy.opencomputers.asm.BaseWrapperClass)2