< Summary

Class:RPC.Context.CRDTServiceContext
Assembly:RPC.Context
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/Context/CRDTServiceContext.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:20
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
CRDTServiceContext()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/Context/CRDTServiceContext.cs

#LineLine coverage
 1using DCL;
 2using DCL.CRDT;
 3using System;
 4using System.Collections.Generic;
 5
 6namespace RPC.Context
 7{
 8    public class CRDTServiceContext
 9    {
 41610        public readonly Dictionary<int, CRDTProtocol> scenesOutgoingCrdts = new Dictionary<int, CRDTProtocol>(24);
 11        public IMessagingControllersManager MessagingControllersManager;
 12        public IWorldState WorldState;
 13        public ISceneController SceneController;
 14        public Action<int, CRDTMessage> CrdtMessageReceived;
 15
 16        // TODO: we actually just want `CRDTProtocol` for this propose.
 17        // but we should first refactor `CRDTExecutor` so it receive it's `CRDTProtocol` using dependency injection
 18        public Dictionary<int, ICRDTExecutor> CrdtExecutors;
 19    }
 20}

Methods/Properties

CRDTServiceContext()