| 198 | } |
| 199 | |
| 200 | void MultiplayerDebugger::RPCProfiler::init_node(const ObjectID p_node) { |
| 201 | if (rpc_node_data.has(p_node)) { |
| 202 | return; |
| 203 | } |
| 204 | rpc_node_data.insert(p_node, RPCNodeInfo()); |
| 205 | rpc_node_data[p_node].node = p_node; |
| 206 | rpc_node_data[p_node].node_path = String(ObjectDB::get_instance<Node>(p_node)->get_path()); |
| 207 | } |
| 208 | |
| 209 | void MultiplayerDebugger::RPCProfiler::toggle(bool p_enable, const Array &p_opts) { |
| 210 | rpc_node_data.clear(); |
nothing calls this directly
no test coverage detected