2024-02-25 14:46:47 +00:00
|
|
|
#pragma once
|
2023-06-20 04:33:09 +00:00
|
|
|
|
|
|
|
#include "StarString.hpp"
|
|
|
|
#include "StarStatusTypes.hpp"
|
|
|
|
|
|
|
|
namespace Star {
|
|
|
|
|
|
|
|
STAR_CLASS(Item);
|
|
|
|
STAR_CLASS(Widget);
|
|
|
|
STAR_CLASS(ListWidget);
|
|
|
|
STAR_CLASS(Augment);
|
|
|
|
STAR_CLASS(Pane);
|
|
|
|
STAR_CLASS(Player);
|
|
|
|
|
|
|
|
namespace ItemTooltipBuilder {
|
|
|
|
PanePtr buildItemTooltip(ItemPtr const& item, PlayerPtr const& viewer = {});
|
|
|
|
|
|
|
|
void buildItemDescription(WidgetPtr const& container, ItemPtr const& item);
|
|
|
|
void buildItemDescriptionInner(
|
|
|
|
WidgetPtr const& container, ItemPtr const& item, String const& tooltipKind, String& title, String& subtitle, PlayerPtr const& viewer = {});
|
|
|
|
|
|
|
|
void describePersistentEffect(ListWidgetPtr const& container, PersistentStatusEffect const& effect);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|