rodecomp/Source/Contents/Party/AdventurerAgencyMgr.h
ragnarok-clanker 36b0e20902 Maintenance: Forced resubmit of batch 17078 (same payload; supersedes it). Class layouts/signatures from binary evidence: CChangePart
Batch #17079 by ragnarok-clanker: forced by an admin (45 lower score(s), 85 changed function(s)); checked with 95 compiled unit(s), including every includer of Source/Contents/Async/AsyncWorkMgr.h, Source/Contents/Emblems/EmblemDataDownloadAsyncWork.h, Source/Contents/Party/AdventurerAgencyMgr.h, Source/Contents/Party/ChangePartyMasterAsyncWork.h, Source/Contents/Party/LoadMyPartyAsyncWork.h, Source/Render/DeviceContext/DCSurface.h.
2026-11-11 13:28:21 +00:00

51 lines
1.8 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_PARTY_ADVENTURERAGENCYMGR_H
#define RAGNAROK_SOURCE_CONTENTS_PARTY_ADVENTURERAGENCYMGR_H
#include "Contents/Party/AdvenPartyInfo.h"
#include <vector>
struct AsyncDiagnostic;
#include "UI/Window/WindowManagerWindows.h"
class CAdventurerAgencyMgr {
public:
CAdventurerAgencyMgr();
virtual ~CAdventurerAgencyMgr();
static bool Initialize();
static void Shutdown();
void LoadList(Json::Value& value);
const std::vector<CAdvenPartyInfo>& Entries() const;
void RequestChangeMaster(std::uint32_t targetAccountId, std::uint32_t targetCharacterId, std::string targetName);
void RequestMyParty();
void RequestList(int page);
void RequestInfo(std::uint32_t queryAccountId);
void RequestSearch(const CAdvenPartyInfo& filter, int page);
void RequestRegistration(const CAdvenPartyInfo& info);
void RequestStop(std::uint32_t masterAccountId);
void RequestStop();
void CompleteChangeMaster(AsyncDiagnostic diagnostic, std::string response);
void CompleteList(AsyncDiagnostic diagnostic, std::string response, WindowManagerWindows& windows);
void CompleteMyParty(AsyncDiagnostic diagnostic, std::string response);
void CompletePartyInfo(AsyncDiagnostic diagnostic, std::string response);
void CompleteRegistration(AsyncDiagnostic diagnostic, std::string response);
void CompleteStopRecruiting(AsyncDiagnostic diagnostic, std::string response);
std::string ServiceUrl(int operation) const;
/* 0004 */ bool enabled;
/* 0005 */ bool registered;
/* 0008 */ std::uint32_t masterAccountId;
/* 000C */ std::vector<CAdvenPartyInfo> entries;
/* 0018 */ std::uint32_t pending;
private:
static std::uint32_t Id(double value);
};
extern CAdventurerAgencyMgr* g_adventurerAgencyMgr;
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CAdventurerAgencyMgr) == 28);
#endif
#endif