Class TEmf

Unit

Declaration

type TEmf = class(TInterfacedObject, IEmf)

Description

Endless Map File

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetRid: TArray<Cardinal>;
Public procedure SetRid(Rid: TArray<Cardinal>);
Public function GetName: string;
Public procedure SetName(Name: string);
Public function GetType: TMapType;
Public procedure SetType(Type_: TMapType);
Public function GetTimedEffect: TMapTimedEffect;
Public procedure SetTimedEffect(TimedEffect: TMapTimedEffect);
Public function GetMusicId: Cardinal;
Public procedure SetMusicId(MusicId: Cardinal);
Public function GetMusicControl: TMapMusicControl;
Public procedure SetMusicControl(MusicControl: TMapMusicControl);
Public function GetAmbientSoundId: Cardinal;
Public procedure SetAmbientSoundId(AmbientSoundId: Cardinal);
Public function GetWidth: Cardinal;
Public procedure SetWidth(Width: Cardinal);
Public function GetHeight: Cardinal;
Public procedure SetHeight(Height: Cardinal);
Public function GetFillTile: Cardinal;
Public procedure SetFillTile(FillTile: Cardinal);
Public function GetMapAvailable: Boolean;
Public procedure SetMapAvailable(MapAvailable: Boolean);
Public function GetCanScroll: Boolean;
Public procedure SetCanScroll(CanScroll: Boolean);
Public function GetRelogX: Cardinal;
Public procedure SetRelogX(RelogX: Cardinal);
Public function GetRelogY: Cardinal;
Public procedure SetRelogY(RelogY: Cardinal);
Public function GetNpcs: TArray<IMapNpc>;
Public procedure SetNpcs(Npcs: TArray<IMapNpc>);
Public function GetLegacyDoorKeys: TArray<IMapLegacyDoorKey>;
Public procedure SetLegacyDoorKeys(LegacyDoorKeys: TArray<IMapLegacyDoorKey>);
Public function GetItems: TArray<IMapItem>;
Public procedure SetItems(Items: TArray<IMapItem>);
Public function GetTileSpecRows: TArray<IMapTileSpecRow>;
Public procedure SetTileSpecRows(TileSpecRows: TArray<IMapTileSpecRow>);
Public function GetWarpRows: TArray<IMapWarpRow>;
Public procedure SetWarpRows(WarpRows: TArray<IMapWarpRow>);
Public function GetGraphicLayers: TArray<IMapGraphicLayer>;
Public procedure SetGraphicLayers(GraphicLayers: TArray<IMapGraphicLayer>);
Public function GetSigns: TArray<IMapSign>;
Public procedure SetSigns(Signs: TArray<IMapSign>);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TEmf;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Rid: TArray<Cardinal> read GetRid write SetRid;
Public property Name: string read GetName write SetName;
Public property Type_: TMapType read GetType write SetType;
Public property TimedEffect: TMapTimedEffect read GetTimedEffect write SetTimedEffect;
Public property MusicId: Cardinal read GetMusicId write SetMusicId;
Public property MusicControl: TMapMusicControl read GetMusicControl write SetMusicControl;
Public property AmbientSoundId: Cardinal read GetAmbientSoundId write SetAmbientSoundId;
Public property Width: Cardinal read GetWidth write SetWidth;
Public property Height: Cardinal read GetHeight write SetHeight;
Public property FillTile: Cardinal read GetFillTile write SetFillTile;
Public property MapAvailable: Boolean read GetMapAvailable write SetMapAvailable;
Public property CanScroll: Boolean read GetCanScroll write SetCanScroll;
Public property RelogX: Cardinal read GetRelogX write SetRelogX;
Public property RelogY: Cardinal read GetRelogY write SetRelogY;
Public property Npcs: TArray<IMapNpc> read GetNpcs write SetNpcs;
Public property LegacyDoorKeys: TArray<IMapLegacyDoorKey> read GetLegacyDoorKeys write SetLegacyDoorKeys;
Public property Items: TArray<IMapItem> read GetItems write SetItems;
Public property TileSpecRows: TArray<IMapTileSpecRow> read GetTileSpecRows write SetTileSpecRows;
Public property WarpRows: TArray<IMapWarpRow> read GetWarpRows write SetWarpRows;
Public property GraphicLayers: TArray<IMapGraphicLayer> read GetGraphicLayers write SetGraphicLayers;
Public property Signs: TArray<IMapSign> read GetSigns write SetSigns;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetRid: TArray<Cardinal>;

This item has no description.

Public procedure SetRid(Rid: TArray<Cardinal>);

This item has no description.

Public function GetName: string;

This item has no description.

Public procedure SetName(Name: string);

This item has no description.

Public function GetType: TMapType;

This item has no description.

Public procedure SetType(Type_: TMapType);

This item has no description.

Public function GetTimedEffect: TMapTimedEffect;

This item has no description.

Public procedure SetTimedEffect(TimedEffect: TMapTimedEffect);

This item has no description.

Public function GetMusicId: Cardinal;

This item has no description.

Public procedure SetMusicId(MusicId: Cardinal);

This item has no description.

Public function GetMusicControl: TMapMusicControl;

This item has no description.

Public procedure SetMusicControl(MusicControl: TMapMusicControl);

This item has no description.

Public function GetAmbientSoundId: Cardinal;

This item has no description.

Public procedure SetAmbientSoundId(AmbientSoundId: Cardinal);

This item has no description.

Public function GetWidth: Cardinal;

This item has no description.

Public procedure SetWidth(Width: Cardinal);

This item has no description.

Public function GetHeight: Cardinal;

This item has no description.

Public procedure SetHeight(Height: Cardinal);

This item has no description.

Public function GetFillTile: Cardinal;

This item has no description.

Public procedure SetFillTile(FillTile: Cardinal);

This item has no description.

Public function GetMapAvailable: Boolean;

This item has no description.

Public procedure SetMapAvailable(MapAvailable: Boolean);

This item has no description.

Public function GetCanScroll: Boolean;

This item has no description.

Public procedure SetCanScroll(CanScroll: Boolean);

This item has no description.

Public function GetRelogX: Cardinal;

This item has no description.

Public procedure SetRelogX(RelogX: Cardinal);

This item has no description.

Public function GetRelogY: Cardinal;

This item has no description.

Public procedure SetRelogY(RelogY: Cardinal);

This item has no description.

Public function GetNpcs: TArray<IMapNpc>;

This item has no description.

Public procedure SetNpcs(Npcs: TArray<IMapNpc>);

This item has no description.

Public function GetLegacyDoorKeys: TArray<IMapLegacyDoorKey>;

This item has no description.

Public procedure SetLegacyDoorKeys(LegacyDoorKeys: TArray<IMapLegacyDoorKey>);

This item has no description.

Public function GetItems: TArray<IMapItem>;

This item has no description.

Public procedure SetItems(Items: TArray<IMapItem>);

This item has no description.

Public function GetTileSpecRows: TArray<IMapTileSpecRow>;

This item has no description.

Public procedure SetTileSpecRows(TileSpecRows: TArray<IMapTileSpecRow>);

This item has no description.

Public function GetWarpRows: TArray<IMapWarpRow>;

This item has no description.

Public procedure SetWarpRows(WarpRows: TArray<IMapWarpRow>);

This item has no description.

Public function GetGraphicLayers: TArray<IMapGraphicLayer>;

This item has no description.

Public procedure SetGraphicLayers(GraphicLayers: TArray<IMapGraphicLayer>);

This item has no description.

Public function GetSigns: TArray<IMapSign>;

This item has no description.

Public procedure SetSigns(Signs: TArray<IMapSign>);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TEmf object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TEmf;

Deserializes an instance of TEmf from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property Rid: TArray<Cardinal> read GetRid write SetRid;

Note

  • Length must be 2

  • Element value range is 0-64008

Public property Name: string read GetName write SetName;

Note
Length must be 24 or less

Public property Type_: TMapType read GetType write SetType;

This item has no description.

Public property TimedEffect: TMapTimedEffect read GetTimedEffect write SetTimedEffect;

This item has no description.

Public property MusicId: Cardinal read GetMusicId write SetMusicId;

Note
Value range is 0-252

Public property MusicControl: TMapMusicControl read GetMusicControl write SetMusicControl;

This item has no description.

Public property AmbientSoundId: Cardinal read GetAmbientSoundId write SetAmbientSoundId;

Note
Value range is 0-64008

Public property Width: Cardinal read GetWidth write SetWidth;

Note
Value range is 0-252

Public property Height: Cardinal read GetHeight write SetHeight;

Note
Value range is 0-252

Public property FillTile: Cardinal read GetFillTile write SetFillTile;

Note
Value range is 0-64008

Public property MapAvailable: Boolean read GetMapAvailable write SetMapAvailable;

This item has no description.

Public property CanScroll: Boolean read GetCanScroll write SetCanScroll;

This item has no description.

Public property RelogX: Cardinal read GetRelogX write SetRelogX;

Note
Value range is 0-252

Public property RelogY: Cardinal read GetRelogY write SetRelogY;

Note
Value range is 0-252

Public property Npcs: TArray<IMapNpc> read GetNpcs write SetNpcs;

Note
Length must be 252 or less

Public property LegacyDoorKeys: TArray<IMapLegacyDoorKey> read GetLegacyDoorKeys write SetLegacyDoorKeys;

Note
Length must be 252 or less

Public property Items: TArray<IMapItem> read GetItems write SetItems;

Note
Length must be 252 or less

Public property TileSpecRows: TArray<IMapTileSpecRow> read GetTileSpecRows write SetTileSpecRows;

Note
Length must be 252 or less

Public property WarpRows: TArray<IMapWarpRow> read GetWarpRows write SetWarpRows;

Note
Length must be 252 or less

Public property GraphicLayers: TArray<IMapGraphicLayer> read GetGraphicLayers write SetGraphicLayers;

The 9 layers of map graphics. Order is [Ground, Object, Overlay, Down Wall, Right Wall, Roof, Top, Shadow, Overlay2]

Note
Length must be 9

Public property Signs: TArray<IMapSign> read GetSigns write SetSigns;

Note
Length must be 252 or less


Generated by PasDoc 0.16.0-snapshot.