Implement CombatEvent codec.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>