Beispiel #1
0
void NLPacket::readSourceID() {
    if (!NON_SOURCED_PACKETS.contains(_type)) {
        _sourceID = sourceIDInHeader(*this);
    }
}
Beispiel #2
0
void NLPacket::readSourceID() {
    if (!PacketTypeEnum::getNonSourcedPackets().contains(_type)) {
        _sourceID = sourceIDInHeader(*this);
    }
}