[{"data":1,"prerenderedAt":130},["ShallowReactive",2],{"class-doc-/reference/2.0/gg_inventory/gginventoryactionstrategy":3,"navigation":58},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"_id":8,"navigation":6,"addon":5,"version":9,"brief_description":10,"description":11,"tutorials":7,"methods":12,"signals":49,"constants":50,"members":51,"inherits":52,"name":53,"title":53,"_source":54,"_file":55,"_stem":56,"_extension":57},"/reference/2.0/gg_inventory/gginventoryactionstrategy","gg_inventory",false,"","content:40.reference:2.0:gg_inventory:GGInventoryActionStrategy.xml","2.0","Responsible for user input handling delegated from the [GGInventoryController].","Handles mouse, focus, and GUI [InputEvent]s for inventory slots which are delegated to this class by the [GGInventoryController]. This separation of concerns allows the [GGInventorySlotItemUI] to focus exclusively on displaying items, while an action strategy handles all the player input.[br][br][b]Note:[/b] This class only defines the methods, effectively acting as an interface. Please see the [GGInventoryActionStrategyDefault] which implements the default action strategy.",[13,25,31,37,43],{"description":14,"name":15,"public":16,"returnType":17,"params":18},"Called by the [param controller] for each [InputEvent] the slot described by [param event_args] receives. The inventory [param slot] and [param item] are provided for convenience. [br][br]If the [param event] is handled, use [method Viewport.set_input_as_handled] to mark it as such.","on_slot_gui_input",true,"void",[19,22],{"name":20,"type":21},"controller","GGInventoryController",{"name":23,"type":24},"event_args","GGInventoryEventArgs",{"description":26,"name":27,"public":16,"returnType":17,"params":28},"Called when an inventory slot described by [param event_args] is focused.","on_focus_entered",[29,30],{"name":20,"type":21},{"name":23,"type":24},{"description":32,"name":33,"public":16,"returnType":17,"params":34},"Called when an inventory slot described by [param event_args] loses focus.","on_focus_exited",[35,36],{"name":20,"type":21},{"name":23,"type":24},{"description":38,"name":39,"public":16,"returnType":17,"params":40},"Called when the mouse hovers over the inventory slot described by [param event_args].","on_mouse_entered",[41,42],{"name":20,"type":21},{"name":23,"type":24},{"description":44,"name":45,"public":16,"returnType":17,"params":46},"Called when the mouse no longer hovers over the inventory slot described by [param event_args].","on_mouse_exited",[47,48],{"name":20,"type":21},{"name":23,"type":24},[],[],[],"Resource","GGInventoryActionStrategy","content","40.reference/2.0/gg_inventory/GGInventoryActionStrategy.xml","40.reference/2.0/gg_inventory/GGInventoryActionStrategy","xml",[59,68,95,115],{"title":60,"_path":61,"children":62},"Getting Started","/getting-started",[63,65],{"title":64,"_path":61},"Introduction",{"title":66,"_path":67},"Installation","/getting-started/installation",{"title":69,"_path":70,"children":71},"Concepts","/concepts",[72,74,77,80,83,86,89,92],{"title":73,"_path":70},"Overview",{"title":75,"_path":76},"Inventory","/concepts/inventory",{"title":78,"_path":79},"Interactions","/concepts/interaction",{"title":81,"_path":82},"Permissions","/concepts/permissions",{"title":84,"_path":85},"Multiplayer","/concepts/multiplayer",{"title":87,"_path":88},"User Interface","/concepts/user-interface",{"title":90,"_path":91},"Game Integration","/concepts/game-integration",{"title":93,"_path":94},"Crafting","/concepts/crafting",{"title":96,"_path":97,"children":98},"Demos","/demos",[99,101,104,107,109,112],{"title":100,"_path":97},"Inventory Tour",{"title":102,"_path":103},"Inventory UI Playground","/demos/inventory_ui",{"title":105,"_path":106},"Inventory Game UI","/demos/inventory_game_ui",{"title":93,"_path":108},"/demos/crafting",{"title":110,"_path":111},"Multiplayer Lobby","/demos/mp_lobby",{"title":113,"_path":114},"Sequencer (prototype)","/demos/sequencer",{"title":116,"_path":117,"children":118},"Guide","/guide",[119,121,124,127],{"title":120,"_path":117},"Architecture Deep Dive",{"title":122,"_path":123},"Design Principles","/guide/design-principles",{"title":125,"_path":126},"Changelog v2.x","/guide/changelog-v2",{"title":128,"_path":129},"Changelog v1.x","/guide/changelog",1743268977636]