diff --git a/config/Item.xlsx b/config/Item.xlsx index 9fbec4b8..ddb4dc4c 100644 Binary files a/config/Item.xlsx and b/config/Item.xlsx differ diff --git a/config/LimitedTimeEvent.xlsx b/config/LimitedTimeEvent.xlsx index 84d4103f..91fac824 100644 Binary files a/config/LimitedTimeEvent.xlsx and b/config/LimitedTimeEvent.xlsx differ diff --git a/markdown/work.md b/markdown/work.md index e69de29b..836e034a 100644 --- a/markdown/work.md +++ b/markdown/work.md @@ -0,0 +1,10 @@ +# 实现ReqPlayroomDressSet接口 + +## 步骤一 +在playroom.go文件中实现DressSet方法,根据传入的type和id设置dress,需判断id是否在Dress中 + +## 步骤二 +在RegisterNetworkFunc.go文件中实现ReqPlayroomDressSet接口 + +## 步骤一 +在GameLogic.go文件的RegisterNetWorkFunc方法中注册该接口 diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index 43050381..18d3c6df 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -1044,7 +1044,7 @@ message ActivityInfo{ message ReqLimitEvent{} message ResLimitEvent{ - map LimitEventList = 1; + map LimitEventList = 1; //限时事件列表 } message ResLimitEventProgress{ int32 ProgressMax = 1; //最大进度 @@ -1072,6 +1072,7 @@ message ResSelectLimitEvent{ message LimitEvent { int32 EndTime = 1; //结束时间 int32 Cd = 2; //cd + float mul = 3; //倍数 } message LimitEventNotify { diff --git a/tool/cfg/cfg_xlsx.json b/tool/cfg/cfg_xlsx.json index 85a4fab6..69dddb52 100644 --- a/tool/cfg/cfg_xlsx.json +++ b/tool/cfg/cfg_xlsx.json @@ -262,6 +262,13 @@ "sheet_name" :"Bonus", "fields" :["Min", "Max", "OrderNum","Option"] }, + { + "in_file": "LimitedTimeEvent.xlsx", + "out_file": "LimitedTimeEventMoney.json", + "key": "Id", + "sheet_name" :"MoneyCat", + "fields" :["Id", "Mul", "Cd"] + }, { "in_file": "LimitedTimeEvent.xlsx", "out_file": "LimitedTimeEventFast.json",