Table of Contents

Method GetWeaponModel

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetWeaponModel(ItemAppearanceWeaponModel)

Gets the weapon model part value for the specified slot.

public ushort GetWeaponModel(ItemAppearanceWeaponModel slot)

Parameters

slot ItemAppearanceWeaponModel

The weapon model index to query.

Returns

ushort

The model part value; returns 0 if the slot index is out of range.