HomeWildfire Games

Split NetFileTransfer message parsing into one function per case, refs #5212.

Description

Split NetFileTransfer message parsing into one function per case, refs #5212.

Avoid redundant map lookups by caching the iterator.
Remove c-style casts by using type specific printf parameters, and static_cast elsewhere.
Use references while at it, and typedef -> using.

Differential Revision: https://code.wildfiregames.com/D1567
Comments by: Vladislav
Tested on: clang 8.0.1, gcc 9.1.0