Merge branch 'sdk' into online

This commit is contained in:
hahwu 2025-09-11 19:26:52 +08:00
commit f933222c2b
19 changed files with 133 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
config/GuideTask.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -76,6 +76,9 @@ enum ITEM_POP_LABEL { // item弹窗标签
CatnipGrandReward = 68; //
CatnipPlay = 69; //
FriendTReward = 70; // 线
PetTheif = 71; //
GuideTaskReward = 72; //
GuideActiveReward = 73; //
}
enum HANDLE_TYPE {
ADD = 0;
@ -127,7 +130,10 @@ enum ORDER_TYPE {
Clean_type2 = 8; //
COMFORT_TYPE = 9; //
Guide_type = 10; //
Pet_type = 11; //
Pet_type = 11; //
Preview_type = 12; //
Fixed_type = 13; //
Playroom_type = 14; // playroom订单
}
enum LOGIN_TYPE {
@ -402,6 +408,26 @@ message ResPlayerChessInfo{
ChessBag ChessBag = 3;
repeated string RetireEmit = 4;
repeated int32 Honor = 5;
PartBag PartBag = 6; //
}
message PartBag{
repeated PartBagGrid PartBagGrids = 1; //
}
message PartBagGrid{
int32 PartId = 1; //ID
int32 Count = 2; //
}
message ReqPutPartInBag{
int32 ChessId = 1; //ID
map<string, int32> mChessData = 2;
}
message ResPutPartInBag{
RES_CODE code = 1;
string msg = 2;
}
@ -753,6 +779,12 @@ message ResDecorateInfo {
int32 AreaId = 1;
repeated int32 mFinishList = 2;
repeated int32 RewardArea = 3; //
repeated DecoratePart Parts = 4; //
}
message DecoratePart{
int32 Id = 1;
repeated ItemInfo Items = 2; //
}
//
@ -1055,8 +1087,40 @@ message CardPack{
repeated int32 Card = 2;
}
//
//
message ResGuideTask{
repeated int32 ActiveReward = 1; //
map<int32, GuideTask> Task = 2; //
int32 Active = 3; //
int32 UnlockTime = 4; //
}
message GuideTask{
int32 Status = 1; // 0: 1 2
QuestProgress Progress = 2; //
int32 Id = 3; //id
}
message ReqGetGuideTaskReward{
int32 Id = 1;// id
}
message ResGetGuideTaskReward{
RES_CODE Code = 1;
string Msg = 2;
int32 Id = 3;// id
}
message ReqGetGuideActiveReward{
int32 Id = 1;// id
}
message ResGetGuideActiveReward{
RES_CODE Code = 1;
string Msg = 2;
int32 Id = 3;// id
}
//
message ResDailyTask{
map<int32, DailyWeek> WeekReward = 1; //
map<int32, DailyTask> DailyTask = 2; //
@ -1065,6 +1129,8 @@ message ResDailyTask{
int32 WeekEnd = 5; //
}
message DailyWeek{
repeated ItemInfo Items = 1; //
bool Status = 2; // 0: 1:
@ -2047,7 +2113,7 @@ message ResPlayroom{
repeated RoomOpponent Opponent = 3; //
repeated FriendRoom Friend = 4; //
map<int32, int32> Playroom = 5; // = id
repeated int32 collect = 6; //
repeated PlayroomCollectInfo collect = 6; //
map<int32, int32> Mood = 7; // <, >
repeated ItemInfo LoseItem = 8; //
int32 StartTime = 9; //
@ -2059,7 +2125,7 @@ message ResPlayroom{
map<int32, int32> Physiology = 15;
map<int32, PlayroomDress> Dress = 16; // = id ID 1 2 3 4 5 6 7 8 9
map<int32, int32> DressSet = 17; // = id
repeated int32 PetAir = 18; //
repeated PlayroomAirInfo PetAir = 18; //
int32 PetAirSet = 19; //
int32 Upvote = 20; //
int32 RoomPoint = 21; //
@ -2070,6 +2136,7 @@ message ResPlayroom{
int32 Kiss = 26; //
int64 Revenge = 27; // Uid
repeated AdItem AdItem = 28; // 广
FriendRoom Target = 29; //
}
message NotifyPlayroomTask{
@ -2120,7 +2187,29 @@ message ResPlayroomUpvote{
}
message PlayroomDress{
repeated int32 List = 1; // = id
repeated PlayroomDressInfo List = 1; // = id
}
message PlayroomDressInfo{
int32 Id = 1; // id
int64 EndTime = 2; //
int64 AddTime = 3; //
string Label = 4; //
}
message PlayroomAirInfo{
int32 Id = 1; // id
int64 EndTime = 2; //
int64 AddTime = 3; //
string Label = 4; //
}
message PlayroomCollectInfo{
int32 Id = 1; // id
int64 EndTime = 2; //
int64 AddTime = 3; //
string Label = 4; //
}
message ReqPlayroomDressSet{

View File

@ -36,7 +36,7 @@
"out_file": "MergeDataEmit.json",
"key": "Type",
"sheet_name" :"Emit",
"fields" :["Emit_Min_Lv","Ratio", "Product_Type", "Order_Type"]
"fields" :["Emit_Min_Lv","Ratio", "Product_Type", "Order_Type", "Retire"]
},
{
"in_file": "StartMerge.xlsx",
@ -71,7 +71,21 @@
"out_file": "StartOrder.json",
"key": "Id",
"sheet_name" :"StartOrder",
"fields" :["Id", "merge_id_list", "step"]
"fields" :["Id", "merge_id_list", "appear", "reward","preview", "type"]
},
{
"in_file": "OrderData.xlsx",
"out_file": "OrderConst.json",
"key": "Key",
"sheet_name" :"Const",
"fields" :["Key", "Value"]
},
{
"in_file": "OrderData.xlsx",
"out_file": "OrderScene.json",
"key": "Sence",
"sheet_name" :"OrderScene",
"fields" :["Factor"]
},
{
"in_file": "UserData.xlsx",
@ -92,7 +106,7 @@
"out_file": "IndoorProgress.json",
"key": "Id",
"sheet_name" :"IndoorProgress",
"fields" :["Id", "Scene", "Lv", "Item", "AreaReward"]
"fields" :["Id", "Scene", "Lv", "Item", "AreaReward", "Part"]
},
{
"in_file": "DecorateCost.xlsx",
@ -435,7 +449,7 @@
"out_file": "EndlessJackpot.json",
"key": "Id",
"sheet_name" :"Jackpot",
"fields" :["ItemId", "Type", "Diamond"]
"fields" :["ItemId", "Type", "Diamond","Lv"]
},
{
"in_file": "Champship.xlsx",
@ -723,6 +737,27 @@
"key": "Key",
"sheet_name" :"Const",
"fields" :["Value"]
},
{
"in_file": "GuideTask.xlsx",
"out_file": "GuideTaskConst.json",
"key": "Key",
"sheet_name" :"Const",
"fields" :["Value"]
},
{
"in_file": "GuideTask.xlsx",
"out_file": "GuideTaskTask.json",
"key": "Id",
"sheet_name" :"Task",
"fields" :["Task","Unlock","Items","Active"]
},
{
"in_file": "GuideTask.xlsx",
"out_file": "GuideTaskActive.json",
"key": "Id",
"sheet_name" :"Active",
"fields" :["Active","Items"]
}
]
}