rodecomp/Source/UI/Dialogs/UINpcEditDialogWnd.h
ragnarok-clanker a564567782 Decompile fn_12149 (UINpcTextEditDialogWnd::InsertSkillTag)
Batch #7950 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_12149 UINpcTextEditDialogWnd::InsertSkillTag: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, secret, Tanke
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 12:53:07 +00:00

39 lines
899 B
C++

#ifndef RAGNAROK_SOURCE_UI_DIALOGS_UINPCEDITDIALOGWND_H
#define RAGNAROK_SOURCE_UI_DIALOGS_UINPCEDITDIALOGWND_H
#include "UI/Window/UIFrameWnd.h"
struct UIButtonContext;
class UIEditCtrl;
class UIItemTagOnMegaPhone;
struct ITEM_INFO;
struct UIEditContext;
class UINpcEditDialogWnd : public UIFrameWnd {
public:
UINpcEditDialogWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
void Paint() override;
void Slot15(int width, int height) override;
protected:
UIButtonContext* m_controls;
public:
/* 00B4 */ UIEditCtrl* edit;
/* 00B8 */ int unknown_00B8;
protected:
UIEditContext* m_editContext;
};
class UINpcTextEditDialogWnd : public UINpcEditDialogWnd {
public:
void Slot15(int width, int height) override;
void InsertItemTag(const ITEM_INFO& item);
void InsertSkillTag(int tagId);
/* 00BC */ UIItemTagOnMegaPhone* m_tagCtrl;
};
#endif