| | 1 | | using System.Collections.Generic; |
| | 2 | | using DCL.Controllers; |
| | 3 | | using DCL.ECS7.UI; |
| | 4 | | using DCL.Helpers; |
| | 5 | | using DCLPlugins.UUIDEventComponentsPlugin.UUIDComponent.Interfaces; |
| | 6 | | using JetBrains.Annotations; |
| | 7 | | using UnityEngine; |
| | 8 | |
|
| | 9 | | namespace DCL |
| | 10 | | { |
| | 11 | | public class DataStore_ECS7 |
| | 12 | | { |
| | 13 | | public readonly struct PointerEvent |
| | 14 | | { |
| | 15 | | public readonly int buttonId; |
| | 16 | | public readonly RaycastResultInfo rayResult; |
| | 17 | | public readonly bool isButtonDown; |
| | 18 | |
|
| | 19 | | public PointerEvent(int buttonId, bool isButtonDown, RaycastResultInfo rayResult) |
| | 20 | | { |
| 12 | 21 | | this.buttonId = buttonId; |
| 12 | 22 | | this.isButtonDown = isButtonDown; |
| 12 | 23 | | this.rayResult = rayResult; |
| 12 | 24 | | } |
| | 25 | | } |
| | 26 | |
|
| 552 | 27 | | public readonly BaseList<IParcelScene> scenes = new BaseList<IParcelScene>(); |
| 552 | 28 | | public readonly BaseDictionary<string, BaseRefCountedCollection<object>> pendingSceneResources = new BaseDiction |
| 552 | 29 | | public readonly BaseDictionary<long, List<IPointerInputEvent>> entityEvents = new BaseDictionary<long, List<IPoi |
| 552 | 30 | | public readonly BaseDictionary<long, GameObject> shapesReady = new BaseDictionary<long, GameObject>(); |
| 552 | 31 | | public IUIDataContainer uiDataContainer = new UIDataContainer(); |
| | 32 | | public bool isEcs7Enabled = false; |
| | 33 | | public PointerEvent? lastPointerInputEvent = null; |
| | 34 | | public RaycastHit? lastPointerRayHit = null; |
| | 35 | | } |
| | 36 | | } |