Пример #1
0
 public void BeforeModsInitialize()
 {
     Priority.Init();
     RuntimeEntities.Init();
     EntityFactory.Init();
     Pools.Init();
     Stats.Init(new StatsBuilder());
     MoreChains.Init(new ChainsBuilder());
     GlobalChains.Init(new ChainsBuilder());
     Component = new IdentifierAssigner();
     Slot      = new IdentifierAssigner();
     InputMappings.Init();
     _extensions = new Dictionary <int, IRegistryExtension>();
 }
Пример #2
0
 public void Init()
 {
     assigner = new IdentifierAssigner();
     map      = new Dictionary <RuntimeIdentifier, T>();
 }
Пример #3
0
 public void Clear()
 {
     map.Clear();
     assigner = new IdentifierAssigner();
 }
Пример #4
0
 public void Init()
 {
     _assigner = new IdentifierAssigner();
     _map      = new Dictionary <Identifier, T>();
     _nameMap  = new Dictionary <string, Identifier>();
 }
Пример #5
0
 public void Init(T map)
 {
     _map      = map;
     _assigner = new IdentifierAssigner();
     _nameMap  = new Dictionary <string, Identifier>();
 }