{"nodes": [{"id": "game_scripts_coop_link", "label": "CoopLink", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L1", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "The only wire CoopSession talks to; GD-Sync compresses packets only after encrypting them (saves nothing), so CoopLink zstd-compresses any message over COMPRESS_OVER (256) bytes itself as kind 'z'. Counts traffic per kind and flags unreliable messages over UNRELIABLE_LIMIT (1100) since GD-Sync splits datagrams at 1200 bytes."}, {"id": "game_scripts_coop_link_received", "label": "received (signal)", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L15", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_send", "label": "send()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L33", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Compresses with zstd when it saves more than 16 bytes; tallies sent_kinds/sent_bytes and oversized unreliable messages before delegating to the _deliver hook."}, {"id": "game_scripts_coop_link_receive", "label": "receive()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L62", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_poll", "label": "poll()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L73", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_close", "label": "close()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L77", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_deliver", "label": "_deliver()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L81", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Virtual transport hook: overridden by GDSyncLink (real GD-Sync remote calls), Loopback (tests), and net_budget's MeterLink."}, {"id": "game_scripts_coop_link_unpack", "label": "_unpack()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L85", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Bounded decompression (UNPACK_LIMIT 1 MiB) with shape validation so a malformed packet is dropped rather than crashing."}, {"id": "game_scripts_coop_link_reader", "label": "reader()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L102", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_put_cm", "label": "put_cm()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L109", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_get_cm", "label": "get_cm()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L113", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_put_v3", "label": "put_v3()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L117", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_get_v3", "label": "get_v3()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L123", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_put_angle", "label": "put_angle()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L130", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_get_angle", "label": "get_angle()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L134", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_put_time", "label": "put_time()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L139", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_get_time", "label": "get_time()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L143", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_put_text", "label": "put_text()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L148", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_get_text", "label": "get_text()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L156", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_pair", "label": "pair()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L164", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_loopback", "label": "Loopback", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L172", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "In-process test link: messages round-trip through var_to_bytes/bytes_to_var like on the wire, delivered on poll; drop_every simulates lost unreliable packets to prove nothing depends on any single one."}, {"id": "game_scripts_coop_link_loopback_deliver", "label": "Loopback._deliver()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L179", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_loopback_poll", "label": "Loopback.poll()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L187", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_coop_link_loopback_close", "label": "Loopback.close()", "file_type": "code", "source_file": "game/scripts/coop_link.gd", "source_location": "L194", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Breaks the reference cycle between the two paired RefCounted links."}], "edges": [{"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_received", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_send", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_receive", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_poll", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_close", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_deliver", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_unpack", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_reader", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_put_cm", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_get_cm", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_put_v3", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_get_v3", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_put_angle", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_get_angle", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_put_time", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_get_time", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_put_text", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_get_text", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_pair", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link", "target": "game_scripts_coop_link_loopback", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback", "target": "game_scripts_coop_link", "relation": "inherits", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback", "target": "game_scripts_coop_link_loopback_deliver", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback", "target": "game_scripts_coop_link_loopback_poll", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback", "target": "game_scripts_coop_link_loopback_close", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_send", "target": "game_scripts_coop_link_deliver", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_receive", "target": "game_scripts_coop_link_unpack", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_receive", "target": "game_scripts_coop_link_received", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_put_v3", "target": "game_scripts_coop_link_put_cm", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_get_v3", "target": "game_scripts_coop_link_get_cm", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_pair", "target": "game_scripts_coop_link_loopback", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback_poll", "target": "game_scripts_coop_link_receive", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback_deliver", "target": "game_scripts_coop_link_deliver", "relation": "implements", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback_poll", "target": "game_scripts_coop_link_poll", "relation": "implements", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_coop_link_loopback_close", "target": "game_scripts_coop_link_close", "relation": "implements", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/coop_link.gd", "source_location": null, "weight": 1.0}], "hyperedges": []}