예제 #1
0
        private void GOSSIP_SHOW()
        {
            if (GossipFrame.IsOpen)
            {
                GossipFrame.Destroy();
            }
            GossipFrame.Create();

            //Console.WriteLine("##################");
            //Console.WriteLine("Gossip Text:");
            //Console.WriteLine($"{GossipFrame.Instance.Text}\n\nOptions:");
            //foreach (var x in GossipFrame.Instance.Options)
            //    Console.WriteLine($"{x.Type}: {x.Text}");

            //foreach (var x in GossipFrame.Instance.Quests)
            //    Console.WriteLine($"Quest Id {x.Id}: {x.Text}\tState: {x.State}");
            //Console.WriteLine("##################");

            OnGossipShow?.Invoke(this, new EventArgs());
        }
예제 #2
0
 private void GOSSIP_CLOSED()
 {
     GossipFrame.Destroy();
     OnGossipClosed?.Invoke(this, new EventArgs());
 }