public EquipSkillGemResult InventoryControlWrapper.EquipSkillGem(int localId, int index, bool actuallyEquip = true)
Place the physical cursor gem into a host item's zero-based inner socket. In the G binding localId is the host main gem's ID, not a main-slot number. Supports and other gems accepted by the host (such as meta-skill payloads) use this path. actuallyEquip=false validates without input for G; the game decides compatibility. None means dispatch/validation succeeded, not confirmed socketing.
EquipSkillGemResultNamed values for equip skill gem result. Select a value when an API accepts or returns EquipSkillGemResult.
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.
actuallyEquip- 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 EquipSkillGemResult result.
In the G-panel binding, public DPB2 0.4.5.91 recognizes valid gems missing from the static item catalogue. Socket indexes are zero-based; the game still decides compatibility. Use the panel's InventoryControl, reacquire after navigation and inspect the outcome before continuing.