local ShopLogic = require("shop.ShopLogic") -- 查询商店物品 function CG_SHOP_QUERY(human, msg) ShopLogic.query(human, msg.shopType) end -- 刷新商店物品 function CG_SHOP_REFRESH(human, msg) ShopLogic.refresh(human, msg.shopType) end -- 购买物品 function CG_SHOP_BUY(human, msg) ShopLogic.buy(human, msg.shopType, msg.itemID, msg.itemIndex, msg.buyCnt) end -- 查询基础商店中随机商店中记录的道具列表 function CG_SHOP_RECORD_QUERY(human, msg) ShopLogic.RecordItems_Query(human) end -- 记录基础商店中随机商店中记录的道具列表 function CG_SHOP_RECORD_ITEMS(human, msg) ShopLogic.RecordItems(human, msg.itemIdxStr) end -- 基础商店中随机商店中所有道具 function CG_SHOP_ALL_ITEM_QUERY(human, msg) ShopLogic.AllItem_Query(human) end