MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / LoadPlayerEvent

Method LoadPlayerEvent

common/evolving_items.cpp:319–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void EvolvingItemsManager::LoadPlayerEvent(const EQ::ItemInstance &inst, PlayerEvent::EvolveItem &e)
320{
321 if (!inst) {
322 return;
323 }
324
325 e.item_id = inst.GetID();
326 e.item_name = inst.GetItem() ? inst.GetItem()->Name : std::string();
327 e.level = inst.GetEvolveLvl();
328 e.progression = inst.GetEvolveProgression();
329 e.unique_id = inst.GetEvolveUniqueID();
330}

Callers 2

DoEvolveTransferXPMethod · 0.80

Calls 6

stringFunction · 0.85
GetEvolveLvlMethod · 0.80
GetIDMethod · 0.45
GetItemMethod · 0.45
GetEvolveProgressionMethod · 0.45
GetEvolveUniqueIDMethod · 0.45

Tested by

no test coverage detected