rodecomp/Source/UI/CashEmotion/UICashEmotionPiece.h
ragnarok-clanker 98c2dc3244 Decompile 3 functions in Source/Contents/CashEmotionMgr.cpp, Source/Contents/CashEmotionMgr.h, ...
Batch #1438 by Yommy: 3 byte-identical, 0 confirmed by peer review.

- fn_09447 UICashEmotionPack::Slot26: byte-identical
- fn_09448 UICashEmotionPack::Slot25: byte-identical
- fn_09449 UICashEmotionPack::Slot27: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-28 12:52:30 +00:00

40 lines
1.1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_CASHEMOTION_UICASHEMOTIONPIECE_H
#define RAGNAROK_SOURCE_UI_CASHEMOTION_UICASHEMOTIONPIECE_H
#include "UI/Window/UIWindow.h"
#include <cstdint>
struct UIButtonContext;
struct TextureNames;
class UICashEmotionSprBtn;
struct UICashEmotionPieceContext {
UIButtonContext& buttons;
TextureNames& textureNames;
};
class UICashEmotionPiece : public UIWindow {
public:
UICashEmotionPiece(UIWindowContext& windows, UICashEmotionPieceContext& controls);
void Slot15(int width, int height) override;
void Slot19() override;
void Paint() override;
void Slot26(int x, int y) override;
void Slot35(int argument) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
void Slot47() override;
void Slot48() override;
void Set(int packId, int emotionId, bool showTooltip, bool hoverable, bool locked);
protected:
/* 007C */ int m_packId;
/* 0080 */ int m_emotionId;
/* 0084 */ UICashEmotionSprBtn* m_button;
/* 0088 */ bool m_hoverable;
/* 0089 */ bool m_hovered;
UICashEmotionPieceContext* m_controls;
};
#endif