Esempio n. 1
0
        // ReSharper disable once NotNullMemberIsNotInitialized
        public DalamudApi(DalamudPluginInterface pluginInterface)
        {
            PluginInterface = pluginInterface;

            if (!pluginInterface.Inject(this))
            {
                throw new PlatformNotSupportedException(
                          "Failed to inject via IoC. Dalamud API might make breaking changes.");
            }
        }