⁘ data.core

DataFactory

go to → Members

Extends

Broadcasting

This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals

Methods

Unwatch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

Watch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

WatchOnce(p_signalId, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

protected_Broadcast(p_signal, …args)

Inherited From:
Initialization

Methods

protectedoverride-me_Init()

Inherited From:

protectedoverride-me_PostInit()

Inherited From:
Utils

Methods

protected_Bind(p_func)

Inherited From:
Pooling

Group of methods related to the NKMjs pooling system.

Members

read-onlyisReleasing :boolean

Inherited From:

Methods

Release()

Inherited From:
Misc

Members

read-onlycount :number

TODO

id :data.core.ID

TODO

itemClass :function

constructor -- Must inherit data.core.DataBlock

read-onlyitemList :collections.List

TODO

Methods

_CleanUp()

Overrides:

TODO

CreateTemp(p_class) → {*}

Create a temp data item to be registered afterward.

Parameters:
Name Type Default Description
p_class class null

Get(p_id)

Return the item associated with the given ID. Returns null if no ID or item is found.

Parameters:
Name Type Description
p_id string | ID

IsIDAvailable(p_stringID) → {boolean}

Return whether an string ID already exists

Parameters:
Name Type Description
p_stringID string

PreventRelease()

Inherited From:

Register(p_item, p_id) → {*}

Register an item previously created through CreateTemp() with a given ID.

Parameters:
Name Type Description
p_item *
p_id string | ID

Unregister(p_item)

Unregister and release an item created by this library

Parameters:
Name Type Description
p_item *

protected_OnItemRegistered(p_repertoire, p_item)

TODO

Parameters:
Name Type Description
p_repertoire *
p_item *

protected_OnItemReleased(p_item)

TODO

Parameters:
Name Type Description
p_item *

protected_OnItemUnregistered(p_repertoire, p_item)

TODO

Parameters:
Name Type Description
p_repertoire *
p_item *