Remove old ClientInventoryPosition property

ryzomclassic-develop
kaetemi 4 years ago
parent 4c701386f4
commit 2a37a76cb5

@ -1355,7 +1355,6 @@ void CGameItem::clear()
_Inventory = NULL;
_InventorySlot = INVENTORIES::INVALID_INVENTORY_SLOT;
_Form = NULL;
_ClientInventoryPosition = -1;
_HP = 0;
_CurrentWornState = ITEM_WORN_STATE::Unspoiled;
_LostHPremains = 0.0f;

@ -632,12 +632,6 @@ public :
*/
void dumpGameItemStats( const std::string& fileName ="");
/// set the client inventory position
inline void setClientInventoryPosition(sint16 pos) { _ClientInventoryPosition = pos; }
/// get the client inventory position
inline sint16 getClientInventoryPosition() const { return _ClientInventoryPosition; }
/// get Vector of CSheetId used for craft item
// const std::vector< NLMISC::CSheetId >& getRmUsedForCraft() const { return _RmUsedForCraft; }

@ -1341,7 +1341,6 @@ private:
PROP2(_SheetId, CSheetId, _SheetId, _SheetId=val)\
/* PROP2(_LocSlot, uint32, _InventorySlot, _InventorySlot=val)*/\
PROP2(_LocSlot, uint32, _InventorySlot, applyArgs.InventorySlot=val)\
/*PROP2(_ClientInventoryPosition, sint16, _ClientInventoryPosition, _ClientInventoryPosition=val)*/\
PROP2(_HP, uint32, _HP, _HP=val)\
PROP2(_Recommended, uint32, _Recommended, _Recommended=val)\
PROP2(_CreatorId, CEntityId, _CreatorId, _CreatorId=val)\

Loading…
Cancel
Save