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

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

Sets NPC's color values.
protected SetColor ( uint color1 = 0x808080, uint color2 = 0x808080, uint color3 = 0x808080 ) : void
color1 uint
color2 uint
color3 uint
Результат void
		protected void SetColor(uint color1 = 0x808080, uint color2 = 0x808080, uint color3 = 0x808080)
		{
			if (this.NPC == null)
				throw new InvalidOperationException("NPC's race has to be set first.");

			this.NPC.Color1 = color1;
			this.NPC.Color2 = color2;
			this.NPC.Color3 = color3;
		}