[{"data":1,"prerenderedAt":132},["ShallowReactive",2],{"class-doc-/reference/2.0/gg_inventory/gginventorytransferstrategy":3,"navigation":60},{"_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":51,"constants":52,"members":53,"inherits":54,"name":55,"title":55,"_source":56,"_file":57,"_stem":58,"_extension":59},"/reference/2.0/gg_inventory/gginventorytransferstrategy","gg_inventory",false,"","content:40.reference:2.0:gg_inventory:GGInventoryTransferStrategy.xml","2.0","Provides the Inventory Transfer Strategy Interface for transferring items between inventories.","This interface is used by the [GGInventory] method counterparts. This class does not provide an implementation. Please see the [GGInventoryTransferStrategySimple] and [GGInventoryTransferStrategyStacking] classes.",[13,31,42],{"description":14,"name":15,"public":16,"returnType":17,"params":18},"Transfer an item to another inventory. Returns the quantity transferred.","transfer_item_to_inventory",true,"int",[19,22,24,26,28],{"name":20,"type":21},"source_inventory","GGInventory",{"name":23,"type":17},"source_slot_id",{"name":25,"type":21},"target_inventory",{"name":27,"type":17},"quantity",{"name":29,"type":30},"actor","Node",{"description":32,"name":33,"public":16,"returnType":17,"params":34},"Transfers an item to a specific slot in an inventory. Returns the quantity transferred.","transfer_item_to_slot",[35,36,37,38,40,41],{"name":20,"type":21},{"name":23,"type":17},{"name":25,"type":21},{"name":39,"type":17},"target_slot_id",{"name":27,"type":17},{"name":29,"type":30},{"description":7,"name":43,"public":6,"returnType":44,"params":45},"_swap_items","bool",[46,47,48,49,50],{"name":20,"type":21},{"name":23,"type":17},{"name":25,"type":21},{"name":39,"type":17},{"name":29,"type":30},[],[],[],"Resource","GGInventoryTransferStrategy","content","40.reference/2.0/gg_inventory/GGInventoryTransferStrategy.xml","40.reference/2.0/gg_inventory/GGInventoryTransferStrategy","xml",[61,70,97,117],{"title":62,"_path":63,"children":64},"Getting Started","/getting-started",[65,67],{"title":66,"_path":63},"Introduction",{"title":68,"_path":69},"Installation","/getting-started/installation",{"title":71,"_path":72,"children":73},"Concepts","/concepts",[74,76,79,82,85,88,91,94],{"title":75,"_path":72},"Overview",{"title":77,"_path":78},"Inventory","/concepts/inventory",{"title":80,"_path":81},"Interactions","/concepts/interaction",{"title":83,"_path":84},"Permissions","/concepts/permissions",{"title":86,"_path":87},"Multiplayer","/concepts/multiplayer",{"title":89,"_path":90},"User Interface","/concepts/user-interface",{"title":92,"_path":93},"Game Integration","/concepts/game-integration",{"title":95,"_path":96},"Crafting","/concepts/crafting",{"title":98,"_path":99,"children":100},"Demos","/demos",[101,103,106,109,111,114],{"title":102,"_path":99},"Inventory Tour",{"title":104,"_path":105},"Inventory UI Playground","/demos/inventory_ui",{"title":107,"_path":108},"Inventory Game UI","/demos/inventory_game_ui",{"title":95,"_path":110},"/demos/crafting",{"title":112,"_path":113},"Multiplayer Lobby","/demos/mp_lobby",{"title":115,"_path":116},"Sequencer (prototype)","/demos/sequencer",{"title":118,"_path":119,"children":120},"Guide","/guide",[121,123,126,129],{"title":122,"_path":119},"Architecture Deep Dive",{"title":124,"_path":125},"Design Principles","/guide/design-principles",{"title":127,"_path":128},"Changelog v2.x","/guide/changelog-v2",{"title":130,"_path":131},"Changelog v1.x","/guide/changelog",1743268976872]