Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
EnchantDuration Struct Reference

#include <Player.h>

Collaboration diagram for EnchantDuration:

Public Member Functions

 EnchantDuration ()
 EnchantDuration (Item *_item, EnchantmentSlot _slot, uint32 _leftduration)

Public Attributes

Itemitem
uint32 leftduration
EnchantmentSlot slot

Detailed Description

Definition at line 516 of file Player.h.

Constructor & Destructor Documentation

◆ EnchantDuration() [1/2]

EnchantDuration::EnchantDuration ( )
inline

Definition at line 518 of file Player.h.

References item, leftduration, MAX_ENCHANTMENT_SLOT, and slot.

◆ EnchantDuration() [2/2]

EnchantDuration::EnchantDuration ( Item * _item,
EnchantmentSlot _slot,
uint32 _leftduration )
inline

Definition at line 520 of file Player.h.

References ASSERT, item, leftduration, and slot.

Member Data Documentation

◆ item

Item* EnchantDuration::item

Definition at line 526 of file Player.h.

Referenced by EnchantDuration(), and EnchantDuration().

◆ leftduration

uint32 EnchantDuration::leftduration

Definition at line 528 of file Player.h.

Referenced by EnchantDuration(), and EnchantDuration().

◆ slot

EnchantmentSlot EnchantDuration::slot

Definition at line 527 of file Player.h.

Referenced by EnchantDuration(), and EnchantDuration().


The documentation for this struct was generated from the following file:
  • src/server/game/Entities/Player/Player.h