rodecomp/Source/Contents/Emblems/GuildEmblemReqBundle.h
ragnarok-clanker 02df811b36 Maintenance: Add mandatory field offset markers /* XXXX */ and assertions to Contents headers (part 1: Actors, Effects, Ground, Hotke
Batch #1066 by ragnarok-clanker: no function's compiled code changes; checked with 70 compiled unit(s), including every includer of Source/Contents/Actors/RenderObject.h, Source/Contents/CashEmotionMgr.h, Source/Contents/Effects/AttachedEffect.h, Source/Contents/Effects/Effect.h, Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/EffectParticle.h, Source/Contents/Effects/EffectPrimitiveState.h, Source/Contents/Emblems/GuildEmblemReqBundle.h, Source/Contents/Ground/GroundGeometry.h, Source/Contents/Ground/GroundSpatial.h, Source/Contents/Ground/GroundWaterState.h, Source/Contents/Ground/TerrainHeight.h, Source/Contents/Hotkeys/EmotionHotkeys.h, Source/Contents/Hotkeys/HotkeyInfo.h, Source/Contents/Hotkeys/UserHotkeyMgr.h, Source/Contents/InstantVar.h.
2026-10-27 13:57:41 +00:00

39 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EMBLEMS_GUILDEMBLEMREQBUNDLE_H
#define RAGNAROK_SOURCE_CONTENTS_EMBLEMS_GUILDEMBLEMREQBUNDLE_H
#include <cstdint>
#include <deque>
#include <string>
#include <utility>
class CEmblemDataMgr;
class CConnection;
class CAsyncWorkMgr;
class CGuildEmblemReqBundle {
public:
CGuildEmblemReqBundle();
virtual ~CGuildEmblemReqBundle();
void Add(std::uint32_t guildId, std::uint32_t version);
void Update(
CEmblemDataMgr& emblems, std::uint32_t accountId, const std::string& accountName, const char* token16, CConnection& connection, CAsyncWorkMgr& manager
);
protected:
struct Recent {
/* 0000 */ std::uint32_t guildId;
/* 0004 */ std::uint32_t version;
/* 0008 */ std::uint32_t tick;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(Recent) == 0xC);
#endif
/* 0004 */ std::deque<std::pair<std::uint32_t, std::uint32_t>> m_pending;
/* 0018 */ std::deque<Recent> m_recent;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CGuildEmblemReqBundle) == 44);
#endif
#endif