Beispiel #1
0
	void NpcAttr_Change(byte[] _packet)
	{
		body_SC_NPC_ATTR_CHANGE change = new body_SC_NPC_ATTR_CHANGE();
		change.PacketBytesToClass(_packet);

		AsNpcEntity npc = AsEntityManager.Instance.GetNpcEntityBySessionId(change.nNpcIdx);
		if(npc != null)
			npc.AttributeChange(change);
	}