public ModelLD getLDModel() { FieldHook fh = currentHook.getFieldHook("getModel"); if (fh != null) { Object data = fh.getData(currentObject); if (data != null) return new ModelLD(data); } return null; }
public ObjectDefLoader getObjectDefLoader() { FieldHook fh = currentHook.getFieldHook("getObjectDefLoader"); if (fh != null) { Object data = fh.getData(currentObject); if (data != null) return new ObjectDefLoader(data); } return null; }
public NodeList getNodeList() { FieldHook fh = currentHook.getFieldHook("getNodeList"); if (fh != null) { Object data = fh.getData(currentObject); if (data != null) return new NodeList(data); } return null; }
public int getID() { FieldHook fh = currentHook.getFieldHook("getID"); if (fh != null) { Object data = fh.getData(currentObject); if (data != null) return (Integer) data * fh.getMultiplier(); } return -1; }
public InterfaceChild[] getChildren() { FieldHook fh = currentHook.getFieldHook("getChildren"); if (fh != null) { Object array = fh.getData(currentObject); if (array != null) { InterfaceChild[] children = new InterfaceChild[Array.getLength(array)]; for (int i = 0; i < children.length; ++i) children[i] = new InterfaceChild(Array.get(array, i), this, i); return children; } } return new InterfaceChild[] {}; }