- Joined
- Jul 11, 2020
- Messages
- 0
- Reaction score
- 25
- Points
- 0
I have a Problem with HeroCode.
I need a Setting Manager method.
The method names "getSettingsByModule".
Can a Member post me this method pls.
Here the Code snippet:
if (Client.setMgr.getSettingByName(imod.toString()) != null)
for (Setting s : Client.setMgr.getSettingByModule(imod)) { <----- here this method
if (s.isCheck()) {
menuelements.add(new ElementCheckBox(this, s));
} else if (s.isSlider()) {
menuelements.add(new ElementSlider(this, s));
} else if (s.isCombo()) {
menuelements.add(new ElementComboBox(this, s));
}
}
I need a Setting Manager method.
The method names "getSettingsByModule".
Can a Member post me this method pls.
Here the Code snippet:
if (Client.setMgr.getSettingByName(imod.toString()) != null)
for (Setting s : Client.setMgr.getSettingByModule(imod)) { <----- here this method
if (s.isCheck()) {
menuelements.add(new ElementCheckBox(this, s));
} else if (s.isSlider()) {
menuelements.add(new ElementSlider(this, s));
} else if (s.isCombo()) {
menuelements.add(new ElementComboBox(this, s));
}
}