1 line
No EOL
6.9 KiB
JSON
1 line
No EOL
6.9 KiB
JSON
{"nodes": [{"id": "game_scripts_remote_controls", "label": "RemoteControls", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L1", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "The partner's input as the host sees it. Sends a running 16-bit press count per action (not edge events) so a press is never lost with a dropped unreliable packet: the host counts the new ones. Kit classes (Scarecrow, Interactions, ScarecrowCombat) read this instead of local Input when their remote is set."}, {"id": "game_scripts_remote_controls_held", "label": "held()", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L43", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_remote_controls_take", "label": "take()", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L49", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_remote_controls_apply", "label": "apply()", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L58", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Press counts wrap at 65536; a step under 0x8000 counts as new presses, so reordered/old records never subtract presses."}, {"id": "game_scripts_remote_controls_release", "label": "release()", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L83", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_remote_controls_sender", "label": "Sender", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L89", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_remote_controls_sender_note", "label": "note()", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L94", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_remote_controls_sender_record", "label": "record()", "file_type": "code", "source_file": "game/scripts/remote_controls.gd", "source_location": "L102", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Held bits are zeroed while frozen (a menu is up); presses held without an input event (simulated input) are still counted."}], "edges": [{"source": "game_scripts_remote_controls", "target": "game_scripts_coop_link", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls", "target": "game_scripts_scarecrow_combat", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls", "target": "game_scripts_player_character", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls", "target": "game_scripts_remote_controls_held", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls", "target": "game_scripts_remote_controls_take", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls", "target": "game_scripts_remote_controls_apply", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls", "target": "game_scripts_remote_controls_release", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls", "target": "game_scripts_remote_controls_sender", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_sender", "target": "game_scripts_remote_controls_sender_note", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_sender", "target": "game_scripts_remote_controls_sender_record", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_apply", "target": "game_scripts_coop_link_reader", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_apply", "target": "game_scripts_coop_link_get_v3", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_apply", "target": "game_scripts_coop_link_get_angle", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_sender_record", "target": "game_scripts_coop_link_put_v3", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_sender_record", "target": "game_scripts_coop_link_put_angle", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_sender_record", "target": "game_scripts_remote_controls_apply", "relation": "shares_data_with", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_remote_controls_apply", "target": "game_scripts_coop_session_due_foes", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.65, "source_file": "game/scripts/remote_controls.gd", "source_location": null, "weight": 1.0}], "hyperedges": []} |