#pragma once //#include struct ItemBaseEx_info; class SInventorySlot; class SPlayerInfoMgr; class SInventoryMgr; class SCreatureSlotMgr; struct SRepairItemInfo { int maxEthereal; // 최대내구도. int crrEthereal; // 현재내구도. float percent; // 현재 내구도 %. int lossValue; // 내구도 손실값. int EtherealPerOne; // 1% 당 Ethereal 량. void Clear() { maxEthereal=0; crrEthereal=0; percent = 0.0f; EtherealPerOne = 0; } void Set( ItemBaseEx_info * p, SInventorySlot * pSlot ); }; struct SDurability { SDurability(bool bChar); float calculate(SPlayerInfoMgr* pPlayerInfoMgr, SInventoryMgr* pInventoryMgr, SCreatureSlotMgr* pCreatureSlotMgr); bool bCharacter; std::vector< SRepairItemInfo > m_arrRepairInfo; };