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.