| | 1 | | using DCL; |
| | 2 | | using DCL.CRDT; |
| | 3 | | using System; |
| | 4 | | using System.Collections.Generic; |
| | 5 | |
|
| | 6 | | namespace RPC.Context |
| | 7 | | { |
| | 8 | | public class CRDTServiceContext |
| | 9 | | { |
| 416 | 10 | | 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 | | } |