Will realtime transform still fire ownershipDidChange if all syncing checkboxes are turned off?
Will realtime transform still fire ownerIDSelfDidChange if all syncing checkboxes are turned off?
Solution:Jump to solution
----------------------
Yes, you are correct. The
ownerIDSelfDidChange
event is specifically tied to changes in the ownership of the component or model. It is dispatched when the ownerIDSelf
value changes, which represents the client ID of the component owner. This event is not directly related to the syncing checkboxes, which typically control the synchronization of specific properties or states.
Therefore, it is likely that the ownerIDSelfDidChange
event would still fire when the ownership changes, regardless of the state of the syncing checkboxes. However, without specific information on how the syncing checkboxes interact with the ownership events in the provided documentation, this is an educated assumption.
...8 Replies
Hi @cryptomax. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
The
ownerIDSelfDidChange
event is dispatched when the ownerIDSelf
value changes in both RealtimeModel
and RealtimeComponent<TModel>
classes (source (https://normcore.io/documentation/reference/classes/Normal.Realtime.RealtimeModel), source (https://normcore.io/documentation/reference/classes/Normal.Realtime.RealtimeComponent%601)). This event is independent of the syncing checkboxes and is related to the ownership of the component or model.
However, if you're referring to the syncing checkboxes in the RealtimeTransform
component, the documentation does not provide specific information about how these checkboxes affect the ownerIDSelfDidChange
event.
For a more detailed understanding of how ownership works in Normcore, you can refer to the Ownership and Lifetime Flags (https://normcore.io/documentation/room/ownership-and-lifetime-flags) section of the documentation.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@401986039964631060> kapa.ai is still learning and improving, please let us know how it did by reacting below
@Normcore Assistant It seems like if it fires on ownership change specifically then perhaps that means it would fire regardless of the syncing checkboxes
Let me check the knowledge base for you. One moment! :books:
Solution
----------------------
Yes, you are correct. The
ownerIDSelfDidChange
event is specifically tied to changes in the ownership of the component or model. It is dispatched when the ownerIDSelf
value changes, which represents the client ID of the component owner. This event is not directly related to the syncing checkboxes, which typically control the synchronization of specific properties or states.
Therefore, it is likely that the ownerIDSelfDidChange
event would still fire when the ownership changes, regardless of the state of the syncing checkboxes. However, without specific information on how the syncing checkboxes interact with the ownership events in the provided documentation, this is an educated assumption.
For more detailed information, you may want to refer to the official Normcore documentation or reach out to their support:
- RealtimeModel (https://normcore.io/documentation/reference/classes/Normal.Realtime.RealtimeModel)
- RealtimeComponent<TModel> (https://normcore.io/documentation/reference/classes/Normal.Realtime.RealtimeComponent%601)
- RealtimeView (https://normcore.io/documentation/reference/classes/Normal.Realtime.RealtimeView)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@401986039964631060> kapa.ai is still learning and improving, please let us know how it did by reacting below
As far as I'm aware yes. That's part of the meta model which is unaffected by RealtimeTransform
that’s correct
there was a generic but in Normcore with that event that was fixed recently. make sure you’re on the latest version!