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

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

Sets NPC's face values.
protected SetFace ( byte skinColor, short eyeType, byte eyeColor, byte mouthType ) : void
skinColor byte
eyeType short
eyeColor byte
mouthType byte
Результат void
		protected void SetFace(byte skinColor = 0, short eyeType = 0, byte eyeColor = 0, byte mouthType = 0)
		{
			if (this.NPC == null)
				throw new InvalidOperationException("NPC's race has to be set first.");

			this.NPC.SkinColor = skinColor;
			this.NPC.EyeType = eyeType;
			this.NPC.EyeColor = eyeColor;
			this.NPC.MouthType = mouthType;
		}