Asgard.Core.System.ObjectMapper.Init C# (CSharp) Метод

Init() статический приватный Метод

static private Init ( AsgardBase instance ) : void
instance AsgardBase
Результат void
        internal static void Init(AsgardBase instance)
        {
            _instance = instance;
            _manager = instance.EntityManager;

            var orderedList = _rawLookupTypes.OrderBy(t =>
            {
                return t.ToString().GetHashCode();
            });

            ushort index = 0;
            foreach(var item in orderedList)
            {
                _typeLookup[index] = item;
                _typeLookupReverse[item] = index;
                index++;
            }
        }