Package dev.twilite.game.wrapper
Class SubInterface
java.lang.Object
dev.twilite.game.wrapper.SubInterface
- All Implemented Interfaces:
Id
Open sub-interface attached under a parent component id.
-
Constructor Summary
ConstructorsConstructorDescriptionSubInterface(dev.twilite.game.internal.memory.RSSubInterface memory) Wraps a native sub-interface provider. -
Method Summary
-
Constructor Details
-
SubInterface
public SubInterface(dev.twilite.game.internal.memory.RSSubInterface memory) Wraps a native sub-interface provider.
-
-
Method Details
-
parentId
public int parentId()Returns the parent component id. -
id
public int id()Returns the opened interface group id. -
constantName
Description copied from interface:IdReturns the generated gameval constant name forId.id(), or the numeric id as text when no constant is known.This is intended for logs and diagnostics where a stable symbolic name is easier to read than a raw number.
- Specified by:
constantNamein interfaceId
-
type
public int type()Returns the sub-interface type.
-