public static LokiPoe.InGameState.SocketPassiveGemError LokiPoe.InGameState.SkillsUi.SocketPassiveGem(int id, Func<bool> condition)
This method let you socket a passive Gem into a passive socket, the `condition` parameter is there to help you understand if the function suddeded. you should pass as condition, a check over the mouse item, so that if the mouse still has the same item after the function completed, the result will indicate a error while if the mouse dont have a item anymore, or the item changed (you replaced a gem that was already socketed), the function succede and the gem is been socketed.
LokiPoe.InGameState.SocketPassiveGemErrorNamed values for socket passive gem error. Select a value when an API accepts or returns SocketPassiveGemError.
Parameters
id- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.The id of the passive point.
condition- Parameter type:
Func<bool>No current DPB page is linked for this built-in, external, generic or compatibility-only type.A function that check the mouse item and ensure it's not the same item as before the function was called, or no items at all.
Returns: SocketPassiveGemError.None on success, or the relative error.