Example #1
0
        /// <summary>
        /// Create a new UiBuilder and register it. You do not have to call this manually.
        /// </summary>
        /// <param name="interfaceManager">The interface manager to register on.</param>
        /// <param name="namespaceName">The plugin namespace.</param>
        public UiBuilder(InterfaceManager interfaceManager, string namespaceName)
        {
            this.namespaceName = namespaceName;

            this.interfaceManager         = interfaceManager;
            this.interfaceManager.OnDraw += OnDraw;
        }
Example #2
0
        /// <summary>
        /// Create a new UiBuilder and register it. You do not have to call this manually.
        /// </summary>
        /// <param name="interfaceManager">The interface manager to register on.</param>
        /// <param name="namespaceName">The plugin namespace.</param>
        internal UiBuilder(InterfaceManager interfaceManager, string namespaceName)
        {
            this.namespaceName = namespaceName;

            this.interfaceManager         = interfaceManager;
            this.interfaceManager.OnDraw += OnDraw;
            this.stopwatch = new System.Diagnostics.Stopwatch();
        }
Example #3
0
        /// <summary>
        /// Create a new UiBuilder and register it. You do not have to call this manually.
        /// </summary>
        /// <param name="interfaceManager">The interface manager to register on.</param>
        /// <param name="namespaceName">The plugin namespace.</param>
        internal UiBuilder(InterfaceManager interfaceManager, GameGui gameGui, DalamudConfiguration config, string namespaceName)
        {
            this.namespaceName = namespaceName;

            this.interfaceManager         = interfaceManager;
            this.gameGui                  = gameGui;
            this.config                   = config;
            this.interfaceManager.OnDraw += OnDraw;
            this.stopwatch                = new System.Diagnostics.Stopwatch();
        }