Exemplo n.º 1
0
 public LocalizedGossipMenuItem(TranslatableItem text, GossipActionHandler callback,
                                params LocalizedGossipMenuItem[] items)
     : this(text)
 {
     Action  = new NonNavigatingGossipAction(callback);
     SubMenu = new GossipMenu(items);
 }
Exemplo n.º 2
0
 public MultiStringGossipMenuItem(string[] texts, GossipActionHandler callback,
                                  params MultiStringGossipMenuItem[] items)
     : this(texts)
 {
     Action  = new NonNavigatingGossipAction(callback);
     SubMenu = new GossipMenu(items);
 }
Exemplo n.º 3
0
 public LocalizedGossipMenuItem(GossipActionHandler callback, GossipMenu subMenu, RealmLangKey msgKey,
                                params object[] msgArgs)
     : this(msgKey, msgArgs)
 {
     Action  = new NonNavigatingGossipAction(callback);
     SubMenu = subMenu;
 }
Exemplo n.º 4
0
 public QuitGossipMenuItem(GossipMenu subMenu, RealmLangKey msg, params object[] args)
     : base(subMenu, msg, args)
 {
     Action =
         new NonNavigatingGossipAction(convo =>
                                       convo.Character.GossipConversation.StayOpen = false);
 }
Exemplo n.º 5
0
 public QuitGossipMenuItem(GossipMenuIcon icon, RealmLangKey text, params GossipMenuItem[] items)
     : base(icon, text, items)
 {
     Action =
         new NonNavigatingGossipAction(convo =>
                                       convo.Character.GossipConversation.StayOpen = false);
 }
Exemplo n.º 6
0
 public QuitGossipMenuItem(RealmLangKey msg)
     : base(msg, new object[0])
 {
     Action =
         new NonNavigatingGossipAction(convo =>
                                       convo.Character.GossipConversation.StayOpen = false);
 }
Exemplo n.º 7
0
 public LocalizedGossipMenuItem(GossipMenuIcon icon, GossipActionHandler callback, RealmLangKey msgKey,
                                params object[] msgArgs)
     : this(msgKey, msgArgs)
 {
     Icon   = icon;
     Action = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 8
0
 public MultiStringGossipMenuItem(GossipMenuIcon icon, string[] texts, GossipActionHandler callback, GossipMenu subMenu)
     : this(texts)
 {
     Icon    = icon;
     Action  = new NonNavigatingGossipAction(callback);
     SubMenu = subMenu;
 }
Exemplo n.º 9
0
 public LocalizedGossipMenuItem(GossipActionHandler callback, RealmLangKey confirmLangKey, RealmLangKey msgKey,
                                params object[] msgArgs)
     : this(msgKey, msgArgs)
 {
     ConfirmText = new TranslatableItem(confirmLangKey);
     Action      = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 10
0
 public LocalizedGossipMenuItem(TranslatableItem text, GossipActionHandler callback,
                                TranslatableItem confirmText)
     : this(text)
 {
     ConfirmText = confirmText;
     Action      = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 11
0
 public QuitGossipMenuItem(RealmLangKey msg, params object[] args)
     : base(msg, args)
 {
     Action = new NonNavigatingGossipAction((convo) =>
     {
         convo.Character.GossipConversation.StayOpen = false;
     });
 }
Exemplo n.º 12
0
 public QuitGossipMenuItem(RealmLangKey text, params GossipMenuItem[] items)
     : base(text, items)
 {
     Action = new NonNavigatingGossipAction((convo) =>
     {
         convo.Character.GossipConversation.StayOpen = false;
     });
 }
Exemplo n.º 13
0
 public QuitGossipMenuItem(GossipMenuIcon icon, GossipActionHandler callback, RealmLangKey msg, params object[] args)
     : base(icon, msg, args)
 {
     Action = new NonNavigatingGossipAction((convo) =>
     {
         convo.Character.GossipConversation.StayOpen = false;
         callback(convo);
     });
 }
Exemplo n.º 14
0
		public LocalizedGossipMenuItem(GossipMenuIcon icon, GossipActionHandler callback, RealmLangKey msgKey, params object[] msgArgs)
			: this(msgKey, msgArgs)
		{
			Icon = icon;
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 15
0
 public MultiStringGossipMenuItem(string[] texts, GossipActionHandler callback, string[] confirmTexts)
     : this(texts)
 {
     ConfirmTexts = confirmTexts;
     Action       = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 16
0
		public LocalizedGossipMenuItem(TranslatableItem text, GossipActionHandler callback, GossipMenu subMenu)
			: this(text)
		{
			Action = new NonNavigatingGossipAction(callback);
			SubMenu = subMenu;
		}
Exemplo n.º 17
0
		public QuitGossipMenuItem(GossipMenuIcon icon, GossipActionHandler callback, RealmLangKey msg, params object[] args)
			: base(icon, msg, args)
		{
			Action = new NonNavigatingGossipAction((convo) =>
			{
				convo.Character.GossipConversation.StayOpen = false;
				callback(convo);
			});
		}
Exemplo n.º 18
0
		public LocalizedGossipMenuItem(TranslatableItem text, GossipActionHandler callback, params LocalizedGossipMenuItem[] items)
			: this(text)
		{
			Action = new NonNavigatingGossipAction(callback);
			SubMenu = new GossipMenu(items);
		}
Exemplo n.º 19
0
		public QuitGossipMenuItem(RealmLangKey text, GossipActionHandler callback, params GossipMenuItem[] items)
			: base(text, items)
		{
			Action = new NonNavigatingGossipAction((convo) =>
			{
				convo.Character.GossipConversation.StayOpen = false;
				callback(convo);
			});
		}
Exemplo n.º 20
0
		public LocalizedGossipMenuItem(TranslatableItem text, GossipActionHandler callback, TranslatableItem confirmText)
			: this(text)
		{
			ConfirmText = confirmText;
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 21
0
		public MultiStringGossipMenuItem(string[] texts, GossipActionHandler callback, params MultiStringGossipMenuItem[] items)
			: this(texts)
		{
			Action = new NonNavigatingGossipAction(callback);
			SubMenu = new GossipMenu(items);
		}
Exemplo n.º 22
0
		public MultiStringGossipMenuItem(string[] texts, GossipActionHandler callback)
			: this(texts)
		{
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 23
0
 public void SetAction(NonNavigatingGossipAction action)
 {
     Action = action;
 }
Exemplo n.º 24
0
 public LocalizedGossipMenuItem(GossipMenuIcon icon, TranslatableItem text, GossipActionHandler callback)
     : this(text)
 {
     Icon   = icon;
     Action = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 25
0
		public MultiStringGossipMenuItem(string[] texts, GossipActionHandler callback, string[] confirmTexts)
			: this(texts)
		{
			ConfirmTexts = confirmTexts;
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 26
0
		public GossipMenuItem(string text, GossipActionHandler callback, string confirmText)
			: this(text)
		{
			ConfirmText = confirmText;
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 27
0
		public MultiStringGossipMenuItem(GossipMenuIcon icon, string[] texts, GossipActionHandler callback, GossipMenu subMenu)
			: this(texts)
		{
			Icon = icon;
			Action = new NonNavigatingGossipAction(callback);
			SubMenu = subMenu;
		}
Exemplo n.º 28
0
		public GossipMenuItem(string text, GossipActionHandler callback, GossipMenu subMenu)
			: this(text)
		{
			Action = new NonNavigatingGossipAction(callback);
			SubMenu = subMenu;
		}
Exemplo n.º 29
0
		public GossipMenuItem(string text, GossipActionHandler callback, params GossipMenuItem[] items)
			: this(text)
		{
			Action = new NonNavigatingGossipAction(callback);
			SubMenu = new GossipMenu(items);
		}
Exemplo n.º 30
0
 public LocalizedGossipMenuItem(TranslatableItem text, GossipActionHandler callback, GossipMenu subMenu)
     : this(text)
 {
     Action  = new NonNavigatingGossipAction(callback);
     SubMenu = subMenu;
 }
Exemplo n.º 31
0
		public GossipMenuItem(GossipMenuIcon icon, string text, GossipActionHandler callback)
			: this(text)
		{
			Icon = icon;
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 32
0
 public GossipMenuItem(string text, GossipActionHandler callback, string confirmText)
     : this(text)
 {
     ConfirmText = confirmText;
     Action      = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 33
0
		public QuitGossipMenuItem(RealmLangKey msg)
			: base(msg, new object[0])
		{
			Action = new NonNavigatingGossipAction((convo) =>
			{
				convo.Character.GossipConversation.StayOpen = false;
			});
		}
Exemplo n.º 34
0
 public GossipMenuItem(string text, GossipActionHandler callback, params GossipMenuItem[] items)
     : this(text)
 {
     Action  = new NonNavigatingGossipAction(callback);
     SubMenu = new GossipMenu(items);
 }
Exemplo n.º 35
0
		public QuitGossipMenuItem(GossipMenu subMenu, RealmLangKey msg, params object[] args)
			: base(subMenu, msg, args)
		{
			Action = new NonNavigatingGossipAction((convo) =>
			{
				convo.Character.GossipConversation.StayOpen = false;
			});
		}
Exemplo n.º 36
0
 public GossipMenuItem(string text, GossipActionHandler callback, GossipMenu subMenu)
     : this(text)
 {
     Action  = new NonNavigatingGossipAction(callback);
     SubMenu = subMenu;
 }
Exemplo n.º 37
0
		public QuitGossipMenuItem(GossipMenuIcon icon, RealmLangKey text, params GossipMenuItem[] items)
			: base(icon, text, items)
		{
			Action = new NonNavigatingGossipAction((convo) =>
			{
				convo.Character.GossipConversation.StayOpen = false;
			});
		}
Exemplo n.º 38
0
 public GossipMenuItem(GossipMenuIcon icon, string text, GossipActionHandler callback)
     : this(text)
 {
     Icon   = icon;
     Action = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 39
0
		public void SetAction(NonNavigatingGossipAction action)
		{
			Action = action;
		}
Exemplo n.º 40
0
		public LocalizedGossipMenuItem(GossipMenuIcon icon, TranslatableItem text, GossipActionHandler callback)
			: this(text)
		{
			Icon = icon;
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 41
0
 public MultiStringGossipMenuItem(string[] texts, GossipActionHandler callback)
     : this(texts)
 {
     Action = new NonNavigatingGossipAction(callback);
 }
Exemplo n.º 42
0
		public LocalizedGossipMenuItem(GossipActionHandler callback, RealmLangKey confirmLangKey, RealmLangKey msgKey, params object[] msgArgs)
			: this(msgKey, msgArgs)
		{
			ConfirmText = new TranslatableItem(confirmLangKey);
			Action = new NonNavigatingGossipAction(callback);
		}
Exemplo n.º 43
0
		public LocalizedGossipMenuItem(GossipActionHandler callback, GossipMenu subMenu, RealmLangKey msgKey, params object[] msgArgs)
			: this(msgKey, msgArgs)
		{
			Action = new NonNavigatingGossipAction(callback);
			SubMenu = subMenu;
		}
Exemplo n.º 44
0
 public void SetAction(NonNavigatingGossipAction action)
 {
     this.Action = (IGossipAction)action;
 }