コード例 #1
0
        // Basic initialization and hiding overlay (triggered on plugin load)
        public QuestTracker(QuestOverlay _overlay)
        {
            this.overlay    = _overlay;
            this.quest_list = new List <Quest>();

            if (Config.Instance.HideInMenu && CoreAPI.Game.IsInMenu)
            {
                overlay.Hide();
            }
        }
コード例 #2
0
 internal void GameEnd()
 {
     Log.Info("----- Quest GameEnd -----");
     // TODO: Hide overlay only after victory screen
     overlay.Hide();
 }