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

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

Sets NPC's portrait.
protected SetPortrait ( string name ) : void
name string
Результат void
		protected void SetPortrait(string name)
		{
			if (this.NPC == null)
				throw new InvalidOperationException("NPC's race has to be set first.");

			this.NPC.DialogPortrait = name;
		}