新增sendInventorySlotPacket接口

This commit is contained in:
子沐呀
2024-07-21 03:57:10 +08:00
Unverified
parent 6b01186f23
commit cf128f460d
3 changed files with 36 additions and 2 deletions
+10
View File
@@ -1057,6 +1057,16 @@ interface Player {
/** 槽位 */
slot: number
): Item;
/** (GMLIB)发送更新更新物品数据包 */
sendInventorySlotPacket(
/** 容器ID */
containerId: number,
/** 槽位 */
slot: number,
/** 物品 */
item: Item
): void;
}
interface Entity {