| | 1 | | using DCL.Emotes; |
| | 2 | | using DCL.Tutorial; |
| | 3 | | using DCL.Skybox; |
| | 4 | | using DCL.ExperiencesViewer; |
| | 5 | |
|
| | 6 | | namespace DCL |
| | 7 | | { |
| | 8 | | public static class PluginSystemFactory |
| | 9 | | { |
| | 10 | | public static PluginSystem Create() |
| | 11 | | { |
| 0 | 12 | | var pluginSystem = new PluginSystem(); |
| | 13 | |
|
| 0 | 14 | | pluginSystem.Register(() => new DebugPluginFeature()); |
| 0 | 15 | | pluginSystem.Register(() => new ShortcutsFeature()); |
| 0 | 16 | | pluginSystem.Register(() => new ExploreV2Feature()); |
| 0 | 17 | | pluginSystem.Register(() => new DebugShapesBoundingBoxDisplayer()); |
| 0 | 18 | | pluginSystem.Register(() => new TransactionFeature()); |
| 0 | 19 | | pluginSystem.Register(() => new PreviewMenuPlugin()); |
| 0 | 20 | | pluginSystem.Register(() => new SkyboxController()); |
| 0 | 21 | | pluginSystem.Register(() => new GotoPanelPlugin()); |
| 0 | 22 | | pluginSystem.Register(() => new ExperiencesViewerFeature()); |
| 0 | 23 | | pluginSystem.Register(() => new EmoteAnimationsPlugin(DataStore.i.emotes)); |
| 0 | 24 | | pluginSystem.RegisterWithFlag(() => new BuilderInWorldPlugin(), "builder_in_world"); |
| 0 | 25 | | pluginSystem.RegisterWithFlag(() => new TutorialController(), "tutorial"); |
| 0 | 26 | | pluginSystem.RegisterWithFlag(() => new PlacesAndEventsFeature(), "explorev2"); |
| 0 | 27 | | pluginSystem.RegisterWithFlag(() => new SkyboxController(), "procedural_skybox"); |
| | 28 | |
|
| 0 | 29 | | pluginSystem.SetFeatureFlagsData(DataStore.i.featureFlags.flags); |
| | 30 | |
|
| 0 | 31 | | return pluginSystem; |
| | 32 | | } |
| | 33 | | } |
| | 34 | | } |