You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
538 B
20 lines
538 B
3 years ago
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace ET
|
||
|
{
|
||
|
public class LockInfo: Entity, IAwake<long, CoroutineLock>, IDestroy
|
||
|
{
|
||
|
public long LockInstanceId;
|
||
|
|
||
|
public CoroutineLock CoroutineLock;
|
||
|
}
|
||
|
|
||
|
[ComponentOf(typeof(Scene))]
|
||
|
[ChildType(typeof(LockInfo))]
|
||
|
public class LocationComponent: Entity, IAwake
|
||
|
{
|
||
|
public readonly Dictionary<long, long> locations = new Dictionary<long, long>();
|
||
|
|
||
|
public readonly Dictionary<long, LockInfo> lockInfos = new Dictionary<long, LockInfo>();
|
||
|
}
|
||
|
}
|