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