Пример #1
0
        public override void Read(CGameCtnReplayRecord n, GameBoxReader r)
        {
            Version = r.ReadInt32();

            if (Version >= 2)
            {
                n.mapInfo        = r.ReadIdent();
                n.time           = r.ReadInt32_msn();
                n.playerNickname = r.ReadString();

                if (Version >= 6)
                {
                    n.playerLogin = r.ReadString();

                    if (Version >= 8)
                    {
                        U01       = r.ReadByte();
                        n.titleID = r.ReadId();
                    }
                }
            }
        }