update
Applies updateData as a shallow JSON-patch merge onto this tile's current tile, the mechanism behind UpdateTiles. style is handled as its own nested merge (a patch under the "style" key is merged onto the current style object specifically, rather than replacing it wholesale) — every other top-level key in updateData simply overwrites the matching key on the encoded tile object. The merged JSON is then decoded back into a fresh T instance via the framework's dev.catbit.mosaic.core.serialization.MosaicSerializer, which is why an update that would leave the tile in an undecodable shape (e.g. a required field turned into the wrong JSON type) fails and is logged rather than partially applied.
After decoding, if the tile's own events list changed as a result of the patch, events is rebuilt from the new list via BuilderScope.buildEventHolders — an update that doesn't touch events leaves the existing EventHolders (and any state they carry) untouched.
Receiver
UpdateScope, which carries the dev.catbit.mosaic.core.serialization.MosaicSerializer and BuilderScope this merge/rebuild needs.
Parameters
the patch to merge onto this tile's current fields.