Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.
Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
29 lines
850 B
C++
29 lines
850 B
C++
#ifndef RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTPRESS_H
|
|
#define RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTPRESS_H
|
|
|
|
#include "Contents/Skills/ClientSkills.h"
|
|
#include "Contents/Items/ItemDescription.h"
|
|
#include "Contents/Items/ItemInfo.h"
|
|
#include "Contents/UserData/NormalItemSlots.h"
|
|
#include "UI/Shortcuts/ShortcutGrid.h"
|
|
|
|
class UIFrameWnd;
|
|
class WindowManagerWindows;
|
|
class ResourceMgr;
|
|
struct ModeDragState;
|
|
|
|
struct ShortcutPress {
|
|
ClientSkills& skills;
|
|
const std::list<ItemInfo>& inventory;
|
|
ItemDescriptions& descriptions;
|
|
ResourceMgr& resources;
|
|
WindowManagerWindows& windows;
|
|
ModeDragState*& drag;
|
|
const bool& restricted;
|
|
const bool& itemSlotActive;
|
|
unsigned char& currentRow;
|
|
|
|
void Press(UIFrameWnd& window, ShortcutGrid& grid, int x, int y, const NormalItemSlot* const* slots, const NormalItemSlot* const* itemSlots);
|
|
};
|
|
|
|
#endif
|