game event manager: send itemcontainer change events for all containers
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user