[{"data":1,"prerenderedAt":121},["ShallowReactive",2],{"class-doc-/reference/2.0/gg_multiplayer/ggmultiplayerclientscope2d":3,"navigation":49},{"_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,"members":34,"signals":42,"constants":43,"inherits":29,"name":44,"title":44,"_source":45,"_file":46,"_stem":47,"_extension":48},"/reference/2.0/gg_multiplayer/ggmultiplayerclientscope2d","gg_multiplayer",false,"","content:40.reference:2.0:gg_multiplayer:GGMultiplayerClientScope2D.xml","2.0","The client scope is a server-side component to detect when an object should be visible to a client.","The client scope needs its [member peer_id] configured to indicate which player the scene (typically a character) belongs to.[br][br]When the client scope area overlaps with a network object area, the configured strategy on the [GGMultiplayerEntity2D] is invoked.[br][br]The strategy is responsible for updating the network object's [MultiplayerSpawner] configuration according to the respective [GGMultiplayerEntityStrategy].",[13,17,20,24,30],{"description":7,"name":14,"public":6,"returnType":15,"params":16},"_ready","void",[],{"description":7,"name":18,"public":6,"returnType":15,"params":19},"_connect_signals",[],{"description":21,"name":22,"public":6,"returnType":15,"params":23},"Called when the [member peer_id] is set, which may be after [method _on_area_entered] already triggered. So we're re-forcing it to run again with the [member peer_id] now set.","_apply_scope",[],{"description":7,"name":25,"public":6,"returnType":15,"params":26},"_on_area_entered",[27],{"name":28,"type":29},"area","Area2D",{"description":7,"name":31,"public":6,"returnType":15,"params":32},"_on_area_exited",[33],{"name":28,"type":29},[35],{"name":36,"description":37,"type":38,"setter":39,"getter":7,"default":40,"public":41},"peer_id","This is the peer_id of the client, for which the visibility of the networked object will be set.","int","@peer_id_setter","-1",true,[],[],"GGMultiplayerClientScope2D","content","40.reference/2.0/gg_multiplayer/GGMultiplayerClientScope2D.xml","40.reference/2.0/gg_multiplayer/GGMultiplayerClientScope2D","xml",[50,59,86,106],{"title":51,"_path":52,"children":53},"Getting Started","/getting-started",[54,56],{"title":55,"_path":52},"Introduction",{"title":57,"_path":58},"Installation","/getting-started/installation",{"title":60,"_path":61,"children":62},"Concepts","/concepts",[63,65,68,71,74,77,80,83],{"title":64,"_path":61},"Overview",{"title":66,"_path":67},"Inventory","/concepts/inventory",{"title":69,"_path":70},"Interactions","/concepts/interaction",{"title":72,"_path":73},"Permissions","/concepts/permissions",{"title":75,"_path":76},"Multiplayer","/concepts/multiplayer",{"title":78,"_path":79},"User Interface","/concepts/user-interface",{"title":81,"_path":82},"Game Integration","/concepts/game-integration",{"title":84,"_path":85},"Crafting","/concepts/crafting",{"title":87,"_path":88,"children":89},"Demos","/demos",[90,92,95,98,100,103],{"title":91,"_path":88},"Inventory Tour",{"title":93,"_path":94},"Inventory UI Playground","/demos/inventory_ui",{"title":96,"_path":97},"Inventory Game UI","/demos/inventory_game_ui",{"title":84,"_path":99},"/demos/crafting",{"title":101,"_path":102},"Multiplayer Lobby","/demos/mp_lobby",{"title":104,"_path":105},"Sequencer (prototype)","/demos/sequencer",{"title":107,"_path":108,"children":109},"Guide","/guide",[110,112,115,118],{"title":111,"_path":108},"Architecture Deep Dive",{"title":113,"_path":114},"Design Principles","/guide/design-principles",{"title":116,"_path":117},"Changelog v2.x","/guide/changelog-v2",{"title":119,"_path":120},"Changelog v1.x","/guide/changelog",1743268981031]