Yo.
I have returned to studying C ++ and I am developing a auto-loot system for 1.3 as a form of study.
But I have a doubt. Well, when I try to check which items are inside the container (body), it returns me a table, probably with the informations of items inside, but I don't know how to handle them in C ++.
Funcion used:
Someone know how i can do that?
I have returned to studying C ++ and I am developing a auto-loot system for 1.3 as a form of study.
But I have a doubt. Well, when I try to check which items are inside the container (body), it returns me a table, probably with the informations of items inside, but I don't know how to handle them in C ++.
Funcion used:
C++:
if (player->canOpenCorpse(corpseOwner)) {
std::cout << "List of Items: " << container->getItem() << std::endl;
}
Someone know how i can do that?