```c++
MessageOut equipMsg(GPMSG_EQUIP);
equipMsg.writeInt16(inventorySlot);
equipMsg.writeInt16(item.equipmentSlot);
gameHandler->sendTo(mCharacter, equipMsg); 
```

Somehow markdown does not work in emails (even if i edit the comment)...