Пример #1
0
 public bReplayBuffer(List <ReplayFrame> list_1, Enum0 enum0_1, bScoreData bScoreData1, int int_1)
 {
     replayFrames = list_1;
     enum0_0      = enum0_1;
     BScoreData0  = bScoreData1;
     int_0        = int_1;
 }
Пример #2
0
        public bReplayBuffer(SerializationReader reader)
        {
            if (Bancho.Protocol >= 18)
            {
                int_0 = reader.ReadInt32();
            }
            replayFrames = new List <ReplayFrame>();
            int num = reader.ReadUInt16();

            for (var i = 0; i < num; i++)
            {
                replayFrames.Add(new ReplayFrame(reader));
            }
            enum0_0 = (Enum0)reader.ReadByte();
            try
            {
                BScoreData0 = new bScoreData(reader);
            }
            catch (Exception)
            {
            }
        }