Aura.Channel.Scripting.Scripts.NpcScript.Intro C# (CSharp) Метод

Intro() защищенный Метод

Joins lines and sends them as Msg, but only once per creature and NPC per session.
protected Intro ( ) : Task
Результат Task
		protected async Task Intro(params object[] lines)
		{
			if (this.Player.Vars.Temp["npc_intro:" + this.NPC.Name] == null)
			{
				// Explicit button and Select, so we don't get into the hooks
				// (that might do more than sending msgs) without clicking.
				this.Msg(Hide.Both, string.Join("<br/>", lines), this.Button("Continue"));
				await Select();
				this.Player.Vars.Temp["npc_intro:" + this.NPC.Name] = true;
			}

			await Hook("after_intro");
		}