AlbLib.Mapping.TileData.TileData C# (CSharp) 메소드

TileData() 공개 메소드

public TileData ( int id, Stream stream ) : System
id int /// Id to assign. ///
stream Stream /// Source stream. ///
리턴 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