rodecomp/Source/UI/Window/UISeekPartyWnd.cpp
ragnarok-clanker 4e34201f22 Decompile 2 functions in Source/UI/Window/UISeekPartyWnd.cpp, Source/UI/Window/UISeekPartyWnd.h, ...
Batch #6205 by eAthena: 0 byte-identical, 2 confirmed by peer review.

- fn_12833 UISeekPartyWnd::SetJobs: logic confirmed by peer review
- fn_12834 UIJobListWnd::RefreshJobs: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, alisonrag, System4z, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Window/UISeekPartyWnd.cpp
2026-10-30 20:59:09 +00:00

17 lines
401 B
C++

#include "UI/Window/UISeekPartyWnd.h"
#include "UI/Window/UIJobListWnd.h"
#include <utility>
// OFFSET: 0x00944B20
// FUNCTION: fn_12833
void UISeekPartyWnd::SetJobs(const std::int16_t* jobs) {
g_partyBookingJobs.clear();
for (int index = 0; index < 6; ++index) {
if (jobs[index] < 0) {
break;
}
g_partyBookingJobs.insert(std::pair<const int, bool>(jobs[index], true));
}
}