MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / ProcessAck

Method ProcessAck

src/render/plugins/plugin_net_event_router.cpp:566–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564// }
565
566 void PluginNetEventRouter::ProcessAck(const std::shared_ptr<GrPluginNetClientEvent>& ev, const std::shared_ptr<Message>& m) {
567 auto sub = m->ack();
568 auto ack = std::make_shared<NetMessageAck>();
569 ack->send_time_ = sub.send_time();
570 ack->resp_time_ = sub.resp_time();
571 ack->ch_type_ = ev->nt_channel_type_;
572 ack->msg_type_ = m->type();
573 ev->from_plugin_->OnMessageAck(ack);
574 }
575}

Callers 1

ProcessNetEventMethod · 0.95

Calls 1

OnMessageAckMethod · 0.45

Tested by

no test coverage detected