Package dev.gothickit.zenkit.daedalus
Class DaedalusScript
java.lang.Object
dev.gothickit.zenkit.daedalus.DaedalusScript
- All Implemented Interfaces:
NativeObject
- Direct Known Subclasses:
DaedalusVm
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstanceSymbols(String className) getInstruction(long address) @NotNull com.sun.jna.PointergetSymbolByAddress(long address) getSymbolByIndex(int index) getSymbolByName(String name) intstatic @NotNull DaedalusScriptstatic @NotNull DaedalusScriptstatic @NotNull DaedalusScript
-
Field Details
-
handle
-
-
Constructor Details
-
DaedalusScript
-
-
Method Details
-
load
@Contract("_ -> new") @NotNull public static @NotNull DaedalusScript load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull public static @NotNull DaedalusScript load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull public static @NotNull DaedalusScript load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
getSymbolCount
public int getSymbolCount() -
getSymbols
-
getInstanceSymbols
-
getInstruction
-
getSymbolByIndex
-
getSymbolByAddress
-
getSymbolByName
-
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-