Files
RobustToolbox/Robust.Client/WebViewHook/IWebViewManagerHook.cs
T

26 lines
665 B
C#

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