Batch #10019 by ragnarok-clanker: forced by an admin (23 lower score(s), 187 changed function(s)); checked with 447 compiled unit(s), including every includer of Source/Client/Input/Language.h, Source/Client/Mode/ModeDragState.h, Source/Contents/Async/AsyncWorkMgr.h, Source/Contents/Emblems/EmblemCache.h, Source/Contents/Party/AdventurerAgencyMgr.h, Source/Contents/Party/AgencyRequestContext.h, Source/Contents/Party/ChangePartyMasterAsyncWork.h, Source/Contents/Party/LoadMyPartyAsyncWork.h, Source/Contents/Party/LoadPartyInfoAsyncWork.h, Source/Contents/Party/LoadPartyListAsyncWork.h, Source/Contents/Party/PartyInvitation.h, Source/Contents/Party/RegisterPartyAsyncWork.h, Source/Contents/Party/StopRecruitingAsyncWork.h, Source/Contents/Skills/PlayerSkillBundle.h, Source/Contents/UserData/CharacterConfigLoad.h, Source/Network/Packets/PartyJoinPacket.h, Source/UI/Chat/ChatSuggestions.h, Source/UI/Dialogs/UIWaitDBSaveWnd.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Lists/UIListBox.h, Source/UI/Party/UIRequestJoinPartyMgr.h, Source/UI/Shortcuts/NormalItemSlotLoad.h, Source/UI/Shortcuts/ShortcutDetails.h, Source/UI/Shortcuts/ShortcutPress.h, Source/UI/UIBasicCtrl.h, Source/UI/UIStaticItem.h, Source/UI/Window/FrameFocus.h, Source/UI/Window/UIFrameWnd.h, Source/UI/Window/UIVideoWnd.h, Source/UI/Window/WindowManagerWindows.h, Source/UI/Window/WindowMouseHit.h, Source/UI/Window/WindowOrdering.h.
50 lines
1.7 KiB
C++
50 lines
1.7 KiB
C++
#ifndef RAGNAROK_SOURCE_CLIENT_MODE_MODEDRAGSTATE_H
|
|
#define RAGNAROK_SOURCE_CLIENT_MODE_MODEDRAGSTATE_H
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
#include "UI/Window/WindowManagerWindows.h"
|
|
class ResourceMgr;
|
|
struct ItemDescriptions;
|
|
struct ITEM_INFO;
|
|
struct BarterMarketItem;
|
|
struct BarterMarketEntry;
|
|
|
|
struct ModeDragState {
|
|
/* 0308 */ int source;
|
|
/* 030C */ std::uint32_t id;
|
|
/* 0310 */ std::uint32_t unknown_0310;
|
|
/* 0314 */ std::uint32_t unknown_0314;
|
|
/* 0318 */ int quantity;
|
|
/* 031C */ int slot;
|
|
/* 0320 */ std::uint32_t type;
|
|
/* 0324 */ std::uint32_t refine;
|
|
/* 0328 */ unsigned char identified;
|
|
/* 032C */ std::string resource;
|
|
/* 0344 */ std::string name;
|
|
/* 035C */ std::string skillName;
|
|
/* 0374 */ int skillLevel;
|
|
/* 0378 */ unsigned char cards[16];
|
|
/* 0388 */ unsigned char skill;
|
|
/* 038C */ std::uint32_t unknown_038C;
|
|
/* 0390 */ int optionCount;
|
|
/* 0394 */ unsigned char options[25];
|
|
/* 03B0 */ int unknown_03B0;
|
|
/* 03B4 */ std::uint16_t grade;
|
|
/* 03B6 */ unsigned char unknown_03B6;
|
|
/* 03B8 */ std::uint32_t unknown_03B8;
|
|
/* 03C0 */ std::int64_t unknown_03C0;
|
|
|
|
void Clear();
|
|
void BeginItem(WindowManagerWindows& windows, ItemDescriptions& descriptions, int source, const ITEM_INFO& item, int quantity, int slot);
|
|
void BeginSkill(WindowManagerWindows& windows, ResourceMgr& resources, int source, std::uint32_t id, const char* name, int level, int slot);
|
|
void BeginBarterItem(int source, const BarterMarketItem& item, int quantity, int slot);
|
|
void BeginBarterEntry(int source, const BarterMarketEntry& entry, int quantity, int slot);
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(ModeDragState) == 192);
|
|
#endif
|
|
|
|
#endif
|