AlbLib.Mapping.TileData.TileData C# (CSharp) Method

TileData() public method

public TileData ( int id, Stream stream ) : System
id int /// Id to assign. ///
stream Stream /// Source stream. ///
return System
        public TileData(int id, Stream stream)
        {
            Id = id;

            BinaryReader reader = new BinaryReader(stream);
            Type = reader.ReadByte();
            Collision = reader.ReadByte();
            Info = reader.ReadInt16();
            GrID = reader.ReadInt16();
            FramesCount = reader.ReadByte();
            Unknown1 = reader.ReadByte();
        }
TileData