CInventory::GetInvenRef读取身上装备对应栏位参考
var equ = CInventory_GetInvenRef(inven, 0, slot);//0 = 已装备
原文地址:https://tieba.baidu.com/p/9055841753 -----吴克大哥
由阿荣社区 https://bbs.vul7.com/ 转录 6 补充个宠物是22 踊跃盖楼
继续盖楼var equ = CInventory_GetInvenRef(inven, 1, slot);//0 = 背包
欢乐盖楼
var equ = CInventory_GetInvenRef(inven, 3, slot);//3 = 宠物背包
盖楼有瘾
2 = 装扮背包
听说已穿戴还有个26 不知道是啥 很强势 魔法师时装顺序和其他角色不一样 66666,中午还在到处找,及时雨!老登太棒啦!
//获取物品数量传参(背包,(1物品栏,2时装栏,3宠物装备),需要查找的物品ID)
var CInventory_get_item_count = new NativeFunction(ptr(0x084FB500), 'int', ['pointer', 'int', 'int'], { "abi": "sysv" });
页:
[1]