48 const QDomNodeList param = what.elementsByTagName(
"Param");
49 for (
int i=0;
i<param.count();
i++)
51 const QDomElement elem = param.at(
i).toElement();
52 if (elem.attribute(
"name").toStdString()!=
"Packet_Type")
55 const uint16_t val = elem.attribute(
"value").toUInt();
56 const auto it =
fTypes.find(val);
60 Warn(
"Unknown paket type "+to_string(val)+
".");
63 return { -1,
"",
"" };
map< uint16_t, GCN::PaketType_t > fTypes