public UnequipSkillGemResult InventoryControlWrapper.UnequipSkillGem(int localId, int index, bool actuallyUnequip = true)
Remove the gem in a host item's zero-based inner socket onto an empty cursor. In the G binding localId is the host main gem's ID; this does not remove the host. Scrolls and right-clicks once. actuallyUnequip=false validates without input for G. None means dispatch/validation succeeded; verify the cursor and socket afterwards.
UnequipSkillGemResultNamed values for unequip skill gem result. Select a value when an API accepts or returns UnequipSkillGemResult.
Parameters
localId- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.The item's identifier within its owning inventory; do not substitute a grid position.
index- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies index.
actuallyUnequip- Parameter type:
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.
Returns: The UnequipSkillGemResult result.