rotators / foclassic

FOnline Community Edition (r412 base)
https://rotators.fodev.net/foclassic/
GNU General Public License v3.0
42 stars 5 forks source link

item_inv_in callback does not have enough functionality #41

Open Sasabmeg opened 5 years ago

Sasabmeg commented 5 years ago

void item_inv_in(ItemCl& item) - gets triggered when dropping partial amo stack or countable items as well. I need callback, in a way that also gives back the count of items droppped if countable and I need to be able to identify if those have been removed from inventory or put in.

Additional note: void item_inv_out(ItemCl& item) - works on dropall only void item_drop(ItemCl& item) - works on item destroy only (science an item)