freddyatlantis
Member
Hi,
I need to receive a message that the Inventory Panel has been opened or closed.
Looking through EventNames.cs, I found this:
public const string c_GameObject_OnPanelOpenClose_PanelEventData = "GameObject_OnPanelOpenClose_PanelEventData";
And in the documentation there is something similar to this:
EventHandler.RegisterEvent<ItemInfo, ItemStack>(myObject, EventNames.c_GameObject_OnPanelOpenClose_PanelEventData, OnOpenPanel);
What I'm not sure about is what I should be using for the ItemInfo and ItemStack types.
How should I approach this?
I need to receive a message that the Inventory Panel has been opened or closed.
Looking through EventNames.cs, I found this:
public const string c_GameObject_OnPanelOpenClose_PanelEventData = "GameObject_OnPanelOpenClose_PanelEventData";
And in the documentation there is something similar to this:
EventHandler.RegisterEvent<ItemInfo, ItemStack>(myObject, EventNames.c_GameObject_OnPanelOpenClose_PanelEventData, OnOpenPanel);
What I'm not sure about is what I should be using for the ItemInfo and ItemStack types.
How should I approach this?