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

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

Sets id of the NPC.
Only required for NPCs like Nao and Tin, avoid if possible!
protected SetId ( long entityId ) : void
entityId long
Результат void
		protected void SetId(long entityId)
		{
			if (this.NPC == null)
				throw new InvalidOperationException("NPC's race has to be set first.");

			this.NPC.EntityId = entityId;
		}