using System.Collections.Generic; namespace ET.Server { [ChildOf(typeof(LocationComponent))] public class LockInfo: Entity, IAwake, IDestroy { public long LockInstanceId; public CoroutineLock CoroutineLock; } [ComponentOf(typeof(Scene))] public class LocationComponent: Entity, IAwake { public readonly Dictionary locations = new Dictionary(); public readonly Dictionary lockInfos = new Dictionary(); } }