NxmFormat Class
Definition
Reads and writes headerless NXM maps with explicitly supplied dimensions, encoding and order.
c#
public sealed class NxmFormat : TileMapFormat<NxmFile>Constructors
| Name | Description |
|---|---|
NxmFormat(Int32, Int32, NxmEncoding, ResourceDataOrder) | Initializes the interpretation of a raw NXM map; no options are stored in the file itself. |
Properties
| Name | Description |
|---|---|
BytesPerEntry | Gets the number of bytes per entry. |
Encoding | Gets the selected entry interpretation. |
Height | Gets the map height in entries. |
Length | Gets the required file length in bytes. |
Order | Gets the on-disk traversal order. |
Width | Gets the map width in entries. |
Methods
| Name | Description |
|---|---|
ReadAsync(IBinaryReader) | Reads a file from an IBinaryReader. |
WriteAsync(NxmFile, IBinaryWriter) | Writes a strongly typed resource file. |