| | 1 | | using DCL; |
| | 2 | | using DCL.CRDT; |
| | 3 | | using DCL.ECS7; |
| | 4 | | using System; |
| | 5 | | using System.Collections.Generic; |
| | 6 | |
|
| | 7 | | namespace RPC.Context |
| | 8 | | { |
| | 9 | | public class CRDTServiceContext |
| | 10 | | { |
| | 11 | | // TODO: remove `scenesOutgoingCrdts` |
| 346 | 12 | | public readonly Dictionary<int, DualKeyValueSet<int, long, CrdtMessage>> scenesOutgoingCrdts = |
| | 13 | | new Dictionary<int, DualKeyValueSet<int, long, CrdtMessage>>(24); |
| | 14 | | public IMessagingControllersManager MessagingControllersManager; |
| | 15 | | public IWorldState WorldState; |
| | 16 | | public ISceneController SceneController; |
| | 17 | | public Action<int, CrdtMessage> CrdtMessageReceived; |
| | 18 | | public IReadOnlyDictionary<int, ICRDTExecutor> CrdtExecutors; |
| | 19 | | public Func<int, uint> GetSceneTick; |
| | 20 | | public Action<int> IncreaseSceneTick; |
| | 21 | | public Func<int, bool> IsSceneGltfLoadingFinished; |
| 346 | 22 | | public readonly Dictionary<int, DualKeyValueSet<long, int, WriteData>> ScenesOutgoingMsgs = |
| | 23 | | new Dictionary<int, DualKeyValueSet<long, int, WriteData>>(24); |
| | 24 | | } |
| | 25 | | } |