using System; using Robust.Shared.IoC; namespace Robust.Client.WebViewHook { /// /// Used so that the IWebViewManager can be loaded when loading Robust.Client.WebView. /// [AttributeUsage(AttributeTargets.Assembly)] internal sealed class WebViewManagerImplAttribute : Attribute { public readonly Type ImplementationType; public WebViewManagerImplAttribute(Type implementationType) { ImplementationType = implementationType; } } internal interface IWebViewManagerHook { void PreInitialize(IDependencyCollection dependencies, GameController.DisplayMode mode); void Initialize(); void Update(); void Shutdown(); } }