C++:
void HandleAutoConsent() {
if (pOptionsWnd) {
if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentGroupCheckbox")) {
if (!check->Checked) {
SendWndClick2(check, "leftmouseup");
//WriteChatf("AutoConsentGroup set to ON");
}
}
if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentRaidCheckbox")) {
if (!check->Checked) {
SendWndClick2(check, "leftmouseup");
//WriteChatf("AutoConsentRaid set to ON");
}
}
if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentGuildCheckbox")) {
if (!check->Checked) {
SendWndClick2(check, "leftmouseup");
//WriteChatf("AutoConsentGuild set to ON");
}
}
}
}
It would be fairly easy to add. However, you could also just do this with a macro or mutliline.
None of that should really matter in the near future however, as the options are going away.
Code:
- Removed the auto consent options from the Options Window and turned them on by default. These options can still be disabled from within your character's INI file in the Defaults section with the property AutoConsentGroup, AutoConsentRaid, or AutoConsentGuild set to either 1 or 0.
According to the EQ patch notes for test.