game event manager: send itemcontainer change events for all containers

This commit is contained in:
Adam
2021-10-11 20:19:00 -04:00
parent 5b0acccbc7
commit 870933985d
3 changed files with 17 additions and 9 deletions

View File

@@ -1186,6 +1186,12 @@ public interface Client extends GameEngine
@Nullable
ItemContainer getItemContainer(InventoryID inventory);
/**
* Get all item containers
* @return
*/
HashTable<ItemContainer> getItemContainers();
/**
* Gets the length of the cs2 vm's int stack
*/

View File

@@ -32,6 +32,14 @@ import javax.annotation.Nullable;
*/
public interface ItemContainer extends Node
{
/**
* Get the item container id
*
* @return
* @see InventoryID
*/
int getId();
/**
* Gets an array of all items in the container.
*