Murl Engine Lua Addon API  Version 1.0 beta
Murl.Resource.IText

The base interface for a text resource.


Table members

Methods


GetId()

Get the ID of the text resource.

String GetId()

Returns
String The text ID.

GetValue()

Get the string value of the text resource.

String GetValue()

Returns
String The string value.

SetMetaData(metaData)

Set optional meta data for this object. If set, the object takes ownership of the meta data. The meta data object is automatically deleted when the object is destroyed, or a different meta data object is set.

Boolean SetMetaData(Murl.Resource.IMetaData metaData)

Parameters
metaDataThe meta data, or null for removing.
Returns
Boolean true if successful.

GetMetaData()

Get the optional meta data held by this object.

Murl.Resource.IMetaData GetMetaData()

Returns
Murl.Resource.IMetaData The meta data, or null if not present.

SetTags(tags)

Set optional resource tags for this object.

Boolean SetTags(Murl.Array.String tags)

Parameters
tagsThe resource tags.
Returns
Boolean true if successful.

GetTags()

Get the optional resource tags held by this object.

Murl.Array.String GetTags()

Returns
Murl.Array.String The resource tags.