mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-10 18:33:51 +02:00
20 lines
736 B
C#
20 lines
736 B
C#
using CefSharp;
|
|
|
|
namespace VRCX
|
|
{
|
|
public static class Util
|
|
{
|
|
public static void ApplyJavascriptBindings(IJavascriptObjectRepository repository)
|
|
{
|
|
repository.NameConverter = null;
|
|
repository.Register("AppApi", AppApi.Instance, true);
|
|
repository.Register("SharedVariable", SharedVariable.Instance, false);
|
|
repository.Register("WebApi", WebApi.Instance, true);
|
|
repository.Register("VRCXStorage", VRCXStorage.Instance, false);
|
|
repository.Register("SQLite", SQLite.Instance, true);
|
|
repository.Register("LogWatcher", LogWatcher.Instance, true);
|
|
repository.Register("Discord", Discord.Instance, true);
|
|
}
|
|
}
|
|
}
|