rodecomp/Source/UI/Text/UINameBalloonText.h
ragnarok-clanker 79dd2432b8 Decompile fn_21297 (CGameMode::UpdateNameBalloon)
Batch #9252 by KWDev: 0 byte-identical, 1 confirmed by peer review.

- fn_21297 CGameMode::UpdateNameBalloon: logic confirmed by peer review

Peer-reviewed-by: secret, superintelligence, seumadruga
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-01 06:03:19 +00:00

31 lines
909 B
C++

#ifndef RAGNAROK_SOURCE_UI_TEXT_UINAMEBALLOONTEXT_H
#define RAGNAROK_SOURCE_UI_TEXT_UINAMEBALLOONTEXT_H
#include "UI/Text/UIBalloonText.h"
#include <string>
class CActorNameCard;
class UINameBalloonText : public UIBalloonText {
public:
__declspec(noinline) UINameBalloonText(UIWindowContext& windows, BalloonTextContext& text);
~UINameBalloonText() override;
void Slot19() override;
void Paint() override;
virtual void SetIcon(const char* name, unsigned char framed);
virtual void SetName(const CActorNameCard& card, bool stripHash, unsigned char monsterType);
/* 00A0 */ std::string iconName;
/* 00B8 */ int unknown_00B8;
/* 00BC */ unsigned char monsterType;
/* 00BD */ unsigned char framed;
};
class UIVerticalNameBalloonText : public UINameBalloonText {
public:
UIVerticalNameBalloonText(UIWindowContext& windows, BalloonTextContext& text);
void Paint() override;
};
#endif