Commit 68f7a2643e8207c2727d36b079b51af2bac112d8

Authored by zhangqijia
1 parent b35c0d0b

fix: 兑换月卡/战令道具的协议 参数修改 change_id => exchange_id

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
src/ProtocolCode.lua
@@ -59,7 +59,7 @@ actionCodes = { @@ -59,7 +59,7 @@ actionCodes = {
59 Role_runeBuyRpc = 142, -- 铭文购买 59 Role_runeBuyRpc = 142, -- 铭文购买
60 Role_setFriendTeamRpc = 143, -- 设置好友切磋队伍 60 Role_setFriendTeamRpc = 143, -- 设置好友切磋队伍
61 Role_setBgRpc = 144, -- 设置看板娘 61 Role_setBgRpc = 144, -- 设置看板娘
62 - Role_itemConvertMonthCardRpc = 145, -- 兑换月卡道具 62 + Role_itemConvertMonthCardRpc = 145, -- 兑换月卡/战令道具
63 63
64 Adv_startAdvRpc = 151, 64 Adv_startAdvRpc = 151,
65 Adv_startHangRpc = 152, 65 Adv_startHangRpc = 152,
src/actions/RoleAction.lua
@@ -1718,7 +1718,7 @@ function _M.itemConvertMonthCardRpc(agent, data) @@ -1718,7 +1718,7 @@ function _M.itemConvertMonthCardRpc(agent, data)
1718 local itemId = msg.item_id 1718 local itemId = msg.item_id
1719 local typ = msg.typ 1719 local typ = msg.typ
1720 local count = msg.count 1720 local count = msg.count
1721 - local exchangeId = msg.change_id 1721 + local exchangeId = msg.exchange_id
1722 1722
1723 if not ItemId[itemId] then return 1 end 1723 if not ItemId[itemId] then return 1 end
1724 1724