Decompile fn_06362 (ApplyServiceOptionItemWnd)
Batch #8871 by Romain: 0 byte-identical, 1 confirmed by peer review. - fn_06362 ApplyServiceOptionItemWnd: logic confirmed by peer review Peer-reviewed-by: Montyla, pedrao, dori Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
af32d35c09
commit
97cd41807e
1 changed files with 15 additions and 0 deletions
|
|
@ -990,6 +990,21 @@ void RequestModeAction48() {
|
|||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x006C5A10
|
||||
// FUNCTION: fn_06362
|
||||
void ApplyItemWndServiceOption(int id, unsigned char value, bool notify, int enabledMessage, int disabledMessage) {
|
||||
if (g_serviceOptions.Get(id) != value) {
|
||||
g_serviceOptions.Set(id, value);
|
||||
if (notify) {
|
||||
NotifyServiceOption(value, enabledMessage, disabledMessage, 0x64FFFF);
|
||||
}
|
||||
}
|
||||
|
||||
if (g_windowMgr.unknown_01D4) {
|
||||
static_cast<UIItemWnd*>(g_windowMgr.unknown_01D4)->RefreshOptionBox();
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x006C5A60
|
||||
// FUNCTION: fn_45464
|
||||
void RequestModeAction61() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue