mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
21 lines
821 B
C#
21 lines
821 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);
|
|
repository.Register("AssetBundleCacher", AssetBundleCacher.Instance, true);
|
|
}
|
|
}
|
|
}
|