NetEvent.encrypted

is true, if the event is data-being-received, if it was sent encrypted

this should only considered if the type==Type.MessageEvent, or type==Type.PartMessageEvent in case of PartMessageEvent, its value is only correct if 5 or more bytes have been received, because the 5th byte tells if the message is encrypted or not

struct NetEvent
bool encrypted;

Meta