MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / LinkToRoot

Method LinkToRoot

AdaptixClient/Source/UI/Graph/SessionsGraph.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void SessionsGraph::LinkToRoot(GraphItem *item) const
59{
60 item->parentLink = new GraphItemLink(this->rootItem, item, "");
61 item->parentItem = this->rootItem;
62 this->rootItem->AddChild( item );
63}
64
65void SessionsGraph::AddAgent(Agent *agent, bool drawTree)
66{

Callers 3

AddAgentMethod · 0.95
RemoveAgentMethod · 0.95
UnlinkAgentMethod · 0.95

Calls 1

AddChildMethod · 0.45

Tested by

no test coverage detected