Skip to content

feat/realms_isolation - #18

Merged
mikhail-dcl merged 2 commits into
mainfrom
feat/realms_isolation
Apr 23, 2026
Merged

feat/realms_isolation#18
mikhail-dcl merged 2 commits into
mainfrom
feat/realms_isolation

Conversation

@mikhail-dcl

Copy link
Copy Markdown
Collaborator

No description provided.

- Add "modify-protocol" skill

Signed-off-by: Mikhail Agapov <mikhail.agapov@decentraland.org>
Signed-off-by: Mikhail Agapov <mikhail.agapov@decentraland.org>
// Ledger inheritance for fields the caller didn't set explicitly.
PeerSnapshot toWrite = snapshot with
{
Emote = snapshot.Emote ?? InheritEmoteState(index),

@lorux0 lorux0 Apr 22, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesnt feel right to merge the existing states here, due to responsibility issues. Maybe we can have a helper class which allows us to merge pre-existing state from the caller's side (EmoteStartHandler, PlayerStateInputHandler, TeleportHandler, etc..). This way i think you would not need to do null checks

@mikhail-dcl
mikhail-dcl merged commit fb4f629 into main Apr 23, 2026
4 checks passed
@mikhail-dcl
mikhail-dcl deleted the feat/realms_isolation branch April 23, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants