Example #1
0
 public override DefaultComponentLoader Clone(LevelManager level, InstancePlugin plugin, StDefaultComponent storedData)
 {
     return(new Loader(level, plugin, storedData));
 }
Example #2
0
 public abstract DefaultComponentLoader Clone(LevelManager level, InstancePlugin plugin, StDefaultComponent storedData);
Example #3
0
 protected Loader(LevelManager level, InstancePlugin plugin, StDefaultComponent storedData)
 {
     this.level      = level;
     this.plugin     = plugin;
     this.storedData = storedData;
 }
Example #4
0
        internal DefaultComponentLoader StartLoadingComponent(StDefaultComponent storedComponent, LevelManager level, InstancePlugin plugin)
        {
            DefaultComponentLoader loader = loaders[storedComponent.ComponentCase].Clone(level, plugin, storedComponent);

            loader.StartLoading();
            return(loader);
        }