if CallSecureProtected("PickupInventoryItem", fromBag, fromSlot, quantity) then CallSecureProtected("PlaceInInventory", destBag, destSlot)
if PickupInventoryItem(fromBag, fromSlot, quantity) PlaceInInventory(destBag, destSlot)
user:/AddOns/BankManagerRevived/src/BankManager.lua:14: attempt to access a private function 'PickupInventoryItem' from insecure code stack traceback: user:/AddOns/BankManagerRevived/src/BankManager.lua:14: in function 'func' EsoUI/Libraries/Globals/globalapi.lua:181: in function '(anonymous)'
- RequestMoveItem is in the UI documentation attached to this post:Ok, I'm new in lua scripting. I'm a c++ developer.
First, RequestMoveItem is nowhere in the documentation. Only in patch notes.
I've tried it on release builds and it does not work.
Return values exists, but they are not listed in the document.I tried to ignore return values from the calls. It did not change anything.
As your questions are directed to the ZOS developers, I've tried to add some more related questions for them.The message about private function is being shown by the ESO itself. So ask developers.
That's why I've tried to ask developers if there is any other restriction.Addon uses functionality in banks. So it is non combat by default.
I think that the first addon which have used this function was beeradg's BankStuffer about 6 months ago. However I still have no idea what exactly this function does...CallSecureProtected is undocumented function found by original developer and it has been working let's say for 99% of the systems.
I saw code using return value from CallSecureProtected function and I thought that it is return value from the protected function. My mistake.ZOS_ChipHilseberg wrote: »As far as the documentation on protected functions. I couldn't find a protected function that was supposed to be returning values. Do you have a specific example?