public GameFightFighterInformations(GameFightMinimalStats stats, List <System.UInt16> previousPositions, byte teamId, byte wave, bool alive)
 {
     m_stats             = stats;
     m_previousPositions = previousPositions;
     m_teamId            = teamId;
     m_wave  = wave;
     m_alive = alive;
 }
        public override void Deserialize(ICustomDataInput reader)
        {
            base.Deserialize(reader);
            m_teamId = reader.ReadByte();
            m_wave   = reader.ReadByte();
            m_alive  = reader.ReadBoolean();
            m_stats  = ProtocolTypeManager.GetInstance <GameFightMinimalStats>((short)reader.ReadUShort());
            m_stats.Deserialize(reader);
            int previousPositionsCount = reader.ReadUShort();
            int previousPositionsIndex;

            m_previousPositions = new System.Collections.Generic.List <ushort>();
            for (previousPositionsIndex = 0; (previousPositionsIndex < previousPositionsCount); previousPositionsIndex = (previousPositionsIndex + 1))
            {
                m_previousPositions.Add(reader.ReadVarUhShort());
            }
        }