Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added FlashMap & FlashList, support collections in ObjectInspector #326

Merged
merged 5 commits into from
Nov 4, 2023

Conversation

Punikekk
Copy link
Member

@Punikekk Punikekk commented Nov 1, 2023

No description provided.

((ObjectTreeNode) model.getRoot()).update(InspectorTree.this);
invalidate();
} catch (Throwable t) {
t.printStackTrace();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this throwing exceptions in the first place?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

due to memory misreads caused by invalid memory reads via different threads
anyway shouldn't happen anymore i hope

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it doesn't happen, can we get rid of it?

generate class via context menu(supports only default types)
added option to replace name type for every object, etc
ObjectInspector.Slot slot = node.getSlot();
if (slot.slotType == ObjectInspector.Slot.Type.OBJECT || slot.slotType == ObjectInspector.Slot.Type.PLAIN_OBJECT) {

StringBuilder clazzBuilder = new StringBuilder("import com.github.manolo8.darkbot.core.itf.Updatable;");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this thing def needs to go in a diff class, and consider making it a template, as in, a resource text-file with some stuff like {className}, {methods} or w/e that you can search-and-replace instead of having the whole thing written with appends

@Pablete1234 Pablete1234 merged commit 8c3522e into darkbot-reloaded:master Nov 4, 2023
1 check passed
m9w pushed a commit to m9w/RealFreeDarkBot that referenced this pull request Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants