服务端补单逻辑前端展示提交

tcx_xiyou_bt_dev
wangzhenxing 2024-07-02 11:00:54 +08:00
parent b5e86ed6f6
commit bcdf4d9b71
4 changed files with 48 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -820,6 +820,8 @@ GEMNEWDRAWRESPONSE = protobuf.Descriptor();
GEMNEWDRAWRESPONSE_DROP_FIELD = protobuf.FieldDescriptor();
GEMNEWINFORESPONSE = protobuf.Descriptor();
GEMNEWINFORESPONSE_GEMS_FIELD = protobuf.FieldDescriptor();
ANEWRECHARGEORDERREQUEST = protobuf.Descriptor();
ANEWRECHARGEORDERRESPONSE = protobuf.Descriptor();
ERRORMSGRESPONSE_MSG_FIELD.name = "msg"
ERRORMSGRESPONSE_MSG_FIELD.full_name = ".rpc.protocols.ErrorMsgResponse.msg"
@ -8285,6 +8287,20 @@ GEMNEWINFORESPONSE.enum_types = {}
GEMNEWINFORESPONSE.fields = {GEMNEWINFORESPONSE_GEMS_FIELD}
GEMNEWINFORESPONSE.is_extendable = false
GEMNEWINFORESPONSE.extensions = {}
ANEWRECHARGEORDERREQUEST.name = "AnewRechargeOrderRequest"
ANEWRECHARGEORDERREQUEST.full_name = ".rpc.protocols.AnewRechargeOrderRequest"
ANEWRECHARGEORDERREQUEST.nested_types = {}
ANEWRECHARGEORDERREQUEST.enum_types = {}
ANEWRECHARGEORDERREQUEST.fields = {}
ANEWRECHARGEORDERREQUEST.is_extendable = false
ANEWRECHARGEORDERREQUEST.extensions = {}
ANEWRECHARGEORDERRESPONSE.name = "AnewRechargeOrderResponse"
ANEWRECHARGEORDERRESPONSE.full_name = ".rpc.protocols.AnewRechargeOrderResponse"
ANEWRECHARGEORDERRESPONSE.nested_types = {}
ANEWRECHARGEORDERRESPONSE.enum_types = {}
ANEWRECHARGEORDERRESPONSE.fields = {}
ANEWRECHARGEORDERRESPONSE.is_extendable = false
ANEWRECHARGEORDERRESPONSE.extensions = {}
ActiveUserMountRequest = protobuf.Message(ACTIVEUSERMOUNTREQUEST)
ActiveUserMountResponse = protobuf.Message(ACTIVEUSERMOUNTRESPONSE)
@ -8296,6 +8312,8 @@ ActiviteWorkShopReqeust = protobuf.Message(ACTIVITEWORKSHOPREQEUST)
ActivityUpateIndication = protobuf.Message(ACTIVITYUPATEINDICATION)
ActivityUpateProgressIndication = protobuf.Message(ACTIVITYUPATEPROGRESSINDICATION)
AllGiftGoodsIndication = protobuf.Message(ALLGIFTGOODSINDICATION)
AnewRechargeOrderRequest = protobuf.Message(ANEWRECHARGEORDERREQUEST)
AnewRechargeOrderResponse = protobuf.Message(ANEWRECHARGEORDERRESPONSE)
ArchitectureOperateRequest = protobuf.Message(ARCHITECTUREOPERATEREQUEST)
ArchitectureUnlockIndication = protobuf.Message(ARCHITECTUREUNLOCKINDICATION)
BloodRank = protobuf.Message(BLOODRANK)

View File

@ -749,9 +749,11 @@ function this.ExecuteLoading()
--[[[70] =]]function() NetManager.QueryLuofuRegisterInfoRequest(LoadingPanel.OnStep) end,
--[[[71] =]]function() JumpServerManager.LoginGetWorldArenaInfoRequest(LoadingPanel.OnStep) end,--跨服天梯
--[[[72] =]]function() NetManager.AssistInfoRequest(LoadingPanel.OnStep) end,
----[[[73] =]]function() NetManager.AnewRechargeOrderRequest(LoadingPanel.OnStep) end,
function() -- 登录请求最终接口,所有请求放在此接口之前
-- 登录成功确认
NetManager.LoginConfimRequest()
NetManager.AnewRechargeOrderRequest()
-- 登录时初始化主界面竖条显示为打开状态
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)
if AppConst.isGuide then

View File

@ -8238,4 +8238,21 @@ function NetManager.TrainingPropSpeedRequest(_type,_itemId,_num,_heroId,func)
end)
end
function NetManager.AnewRechargeOrderRequest(func)
local data = PlayerInfoProto_pb.AnewRechargeOrderRequest()
local msg = data:SerializeToString()
Network:SendMessageWithCallBack(MessageTypeProto_pb.AnewRechargeOrderRequest,MessageTypeProto_pb.AnewRechargeOrderResponse,msg,function(buffer)
local data = buffer:DataByte()
local msg = PlayerInfoProto_pb.AnewRechargeOrderResponse()
LogError("111111111111111111111111111111111111111111111")
msg:ParseFromString(data)
if func then
func(msg)
end
end)
end
return this