Re-exports§
pub use item_imgs::animate_by_pulse;
Modules§
- animation π
- bag π
- buffs π
- buttons π
- change_
notification π - chat π
- crafting π
- diary π
- esc_
menu π - group π
- hotbar π
- img_ids
- item_
imgs - loot_
scroller π - map π
- minimap π
- overhead π
- overitem π
- popup π
- prompt_
dialog π - quest π
- settings_
window π - skillbar π
- slots π
- social π
- subtitles π
- trade π
- util
Structs§
- Block
Floater - Buff
Icon - ChatTab
- Collect
Failed Data - Combo
Floater - Debug
Info - ExpFloater
- Floaters
- Hotbar
State - Hud
- HudInfo
- Ids π
- Loot
Message - MapMarkers
- Prompt
Dialog Settings - Show
- Skill
Point Gain - Subtitle
- Trade
Amount Input - (target slot, input value, inventory quantity, is our inventory, error, trade.offers index of trade slot)
Enums§
- Auto
Press Behavior - Similar to PressBehavior, with different semantics for settings that change state automatically. There is no [PressBehavior::update][update] implementation because it doesnβt apply to the use case; this is just a sentinel.
- BarNumbers
- Buff
Icon Kind - Buff
Position - Crafting
Tab - Crosshair
Type - Event
- Hotbar
Slot Contents - HudCollect
Failed Reason - HudLoot
Owner - Intro
- Position
Specifier - Specifier to use with
Position::position
Read its documentation for more - Press
Behavior - Scale
Change - Shortcut
Numbers - Windows
- XpBar
Constants§
- BLACK π
- BUFF_
COLOR π - CRITICAL_
HP_ πCOLOR - DEBUFF_
COLOR π - DEFAULT_
NPC π - ENEMY_
HP_ πCOLOR - ERROR_
COLOR π - Color for chat command errors (yellow !)
- EXP_
ACCUMULATION_ πDURATION - EXP_
FLOATER_ πLIFETIME - FACTION_
COLOR π - Color for factional chat
- GROUP_
COLOR π - Color for group chat
- GROUP_
MEMBER π - HP_
COLOR π - INFO_
COLOR π - Color for chat command info (blue i)
- KILL_
COLOR π - Color for death messagesw
- LOW_
HP_ πCOLOR - MENU_BG π
- NAMETAG_
DMG_ πRANGE - Range damaged triggered nametags can be seen
- NAMETAG_
DMG_ πTIME - Time nametags stay visible after doing damage even if they are out of range in seconds
- NAMETAG_
GROUP_ πRANGE - Distance at which nametags are visible for group members
- NAMETAG_
RANGE π - Distance at which nametags are visible
- OFFLINE_
COLOR π - Offline color
- ONLINE_
COLOR π - Online color
- POISEBAR_
TICK_ πCOLOR - POISE_
COLOR π - QUALITY_
ARTIFACT π - QUALITY_
COMMON π - QUALITY_
DEBUG π - QUALITY_
EPIC π - QUALITY_
HIGH π - QUALITY_
LEGENDARY π - QUALITY_
LOW π - QUALITY_
MODERATE π - REGION_
COLOR π - Color for regional chat
- SAY_
COLOR π - Color for local chat
- SPEECH_
BUBBLE_ πRANGE - Range to display speech-bubbles at
- STAMINA_
COLOR π - TELL_
COLOR π - Color for a private message from another player
- TEXT_BG π
- TEXT_
BIND_ πCONFLICT_ COLOR - TEXT_
BLUE_ πCOLOR - TEXT_
COLOR π - TEXT_
COLOR_ π3 - TEXT_
COLOR_ πGREY - TEXT_
DULL_ πRED_ COLOR - TEXT_
GRAY_ πCOLOR - TEXT_
VELORITE π - UI_
HIGHLIGHT_ π0 - UI_MAIN π
- UI_
SUBTLE π - WORLD_
COLOR π - Color for global messages
- XP_
COLOR π
Traits§
- Position
- Trait which enables you to declare widget position to use later on widget creation. It is implemented for all widgets which are implement Positionable, so you can easily change your code to use this method.
Functions§
- air_
velocity π - angle_
of_ attack_ text - cr_
color - default_
water_ color - get_
buff_ image - get_
quality_ col - get_
sprite_ desc - multiplier_
to_ percentage - Converts multiplier to percentage. NOTE: floats are not the most precise type.
- try_
hotbar_ πslot_ from_ input