[This is preliminary documentation and is subject to change.]
Loads tiledata file and provide access to data by index.
Contains static functions to reading and writing raw data from/to stream.
Namespace:
MulLibAssembly: MulLib (in MulLib.dll) Version: 1.0.0.0
Syntax
C# | Visual Basic | Visual C++ |
public sealed class TileData : IDisposable
Public NotInheritable Class TileData _ Implements IDisposable
public ref class TileData sealed : IDisposable
Members
All Members | Constructors | Fields | Properties | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
TileData()()() |
Initializes the new empty TileData object.
| |
Count |
Gets arts and lands count.
| |
DefaultFileLenght |
Expected file size. Value = 1036288 bytes.
| |
Dispose()()() |
Disposes object.
| |
Disposed |
Gets whether object has been disposed.
| |
GetArt(Int32) |
Reads an Art data with specified index.
| |
GetLand(Int32) |
Reads a Land with specified index.
| |
Load(String) |
Loads TileData object from file.
| |
MaxIndex |
Maximum index = 16384.
| |
ReadArt(BinaryReader) |
Static function that reads Art data from specified file at current location.
| |
ReadLand(BinaryReader) |
Static function that reads Land data from specified file at current location.
| |
Save(String) |
Saves data to the file.
| |
SetArt(Int32, TileData..::.Art) |
Writes an Art with specified index.
| |
SetLand(Int32, TileData..::.Land) |
Writes a Land data with specified index.
| |
SyncRoot |
Gets synchronization object.
| |
WriteArt(BinaryWriter, TileData..::.Art) |
Static function that writes Art data to specified file at current location.
| |
WriteLand(BinaryWriter, TileData..::.Land) |
Static function that writes Land data to specified file at current location.
|
Remarks
This class is thread-safe.