⁘ data.core

Repertoire

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:

protectedoverride-me_CleanUp()

Inherited From:
Misc

Members

read-onlycount :number

TODO

read-onlyidDispenser :data.core.IDDispenser

TODO

read-onlyitemList :collections.List

TODO

read-onlyitemMap :collections.Dictionary

TODO

Methods

At(p_index) → {data.core.DataBlock}

TODO

Parameters:
Name Type Description
p_index *

Clear()

TODO

ContainsID(p_id) → {boolean}

Return whether or not the repertoire contains the given ID

Parameters:
Name Type Description
p_id string | ID

Get(p_id) → {data.core.DataBlock}

TODO

Parameters:
Name Type Description
p_id string | data.core.ID

GetID(p_stringID) → {ID}

Return the ID associated with a given string, if any

Parameters:
Name Type Description
p_stringID string

IndexOf(p_item)

TODO

Parameters:
Name Type Description
p_item data.core.DataBlock

IsIDAvailable(p_stringID) → {boolean}

Return whether a given string is available to be used to create a new ID

Parameters:
Name Type Description
p_stringID string

PreventRelease()

Inherited From:

Register(p_item, p_idopt)

Register an item with a given ID. If no ID is provided, creates and assign a randomly generated one.

Parameters:
Name Type Attributes Default Description
p_item data.core.DataBlock
p_id string | data.core.ID <optional>
null

ReserveID(p_stringID)

Create and return new ID with a given string.

Parameters:
Name Type Description
p_stringID string

Unregister(p_item)

Unregister an item and releases its ID.

Parameters:
Name Type Description
p_item data.core.DataBlock

protected_OnIDReleased(p_id)

TODO

Parameters:
Name Type Description
p_id data.core.ID

protected_OnIDRenamed(p_id, p_oldName)

TODO

Parameters:
Name Type Description
p_id string
p_oldName string

protected_OnItemRegistered(p_item)

TODO

Parameters:
Name Type Description
p_item data.core.DataBlock

protected_OnItemReleased(p_item)

TODO

Parameters:
Name Type Description
p_item data.core.DataBlock

protected_OnItemUnregistered(p_item)

TODO

Parameters:
Name Type Description
p_item data.core.DataBlock