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()); }
private void GOSSIP_CLOSED() { GossipFrame.Destroy(); OnGossipClosed?.Invoke(this, new EventArgs()); }