get_item


Description:

[ Version ( since = "3.58" ) ]
public unowned ComponentBagItem? get_item (Client client, string uid, string? rid)

Looks up for an item identified by the client, uid and optionally rid, and returns it.

This is a not thread safe, it's valid until the next change of it is received by the this. If thread safety is required, use the dup_item instead.

Parameters:

this

an ComponentBag

client

an Client

uid

a component UID

rid

a component recurrence ID, or null

Returns:

a stored ComponentBagItem, or null when not found