Find The Items Id Of The Players' Equipment


I’m searching for a function which returns the equipment list of a character to get the id’s of each equipment piece.

I suppose that this is a member function of class Player but I don’t find it /emoticons/default_wink.png

Thanks in advance /emoticons/default_smile.png



You can checkout the Player::Create function (src/server/game/Entities/Player/Player.cpp)

Line 1151 loops through inventory items

Hope it helps!

Thank you !

It was what I needed /emoticons/default_wink.png

Thanks for your help,

have a good day !

You’re welcome!

Have a good day too!