I wont release it, since its sold.
Yo pitifu, can I ask you a question about C++ since this thread is current. How do I getPlayerStorage and Use it on C++?
It'll be cool if you can make an example
bool Player::getStorageValue(const uint32_t key, int32_t& value) const
{
StorageMap::const_iterator it;
it = storageMap.find(key);
if(it != storageMap.end()){
value = it->second;
return true;
}
else{
value = 0;
return false;
}
}
if(player->getStorage(key, value))
//what if true
else
//false