Ejemplo n.º 1
0
        public AppInfoPlayList(Stream stream)
        {
            Length = stream.BEInt32();
            var position = stream.Position;

            stream.Skip(1);
            PlaybackType  = (byte)stream.ReadByte();
            PlaybackCount = (ushort)stream.BEInt16();
            UOMaskTable   = new UOMaskTable(stream);
            FlagField     = (ushort)stream.BEInt16();
            stream.Skip(Length - (stream.Position - position));
        }
Ejemplo n.º 2
0
        public PlayItem(Stream stream)
        {
            Length = (ushort)stream.BEInt16();
            var position = stream.Position;

            ClipName    = new ClipName(stream);
            _flagField1 = (ushort)stream.BEInt16();
            RefToSTCID  = (byte)stream.ReadByte();
            TimeInfo    = new TimeInfo(stream);
            UOMaskTable = new UOMaskTable(stream);
            _flagField2 = (byte)stream.ReadByte();
            StillMode   = (byte)stream.ReadByte();
            StillTime   = (ushort)stream.BEInt16();
            if (IsMultiAngle)
            {
                MultiAngle = new MultiAngle(stream);
            }
            STNTable = new STNTable(stream);
            stream.Skip(Length - (stream.Position - position));
        }