Merge branch 'sdk' into online

This commit is contained in:
hahwu 2026-04-14 21:15:50 +08:00
commit df8ef64dcc
21 changed files with 173 additions and 5 deletions

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.

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

@ -86,6 +86,7 @@ enum ITEM_POP_LABEL { // item弹窗标签
ApplyFriendSponsor = 78; //
PetFurShop = 79; //
ActTypeAddGift = 80; //
CatReturnGiftReward = 81; //
}
enum HANDLE_TYPE {
ADD = 0;
@ -1588,6 +1589,7 @@ message ResPlayerRank{
int32 FurSet = 10; //
ActLog Last = 11; //
string PetName = 12; //
int32 Rank = 13; //
}
message ResFriendLog{
@ -1608,6 +1610,7 @@ message FriendBubbleInfo{
int32 Id = 1; // id
int32 Type = 2; // 1: 2:
repeated ItemInfo Items = 3; //
int64 Uid = 4; // uid
}
message NotifyFriendCard{
@ -2152,8 +2155,36 @@ message ResChampship{
int32 Status = 7;
int32 TodayActivityId = 8;//
int32 YesterdayActivityId = 9;//
ChampionshipCfg Cfg = 10; //
string Title = 11; //
int32 StartTime = 12; //
}
message ChampionshipCfg{
int32 Id = 1; // id
int32 Skin = 2; //
repeated ChampionshipCfgJackpot JackpotList = 3; //
repeated ChampionshipCfgRank RankList = 4; //
int32 ClearTime = 5; //
string Title = 6; //
}
message ChampionshipCfgJackpot{
int32 Id = 1; // id
int32 Score = 2; //
int32 Total = 3; //
repeated ItemInfo Items = 4; //
int32 StarReward = 5; //
}
message ChampionshipCfgRank{
int32 Id = 1; // id
int32 Min = 2; //
int32 Max = 3; //
repeated ItemInfo Items = 4; //
}
//
message ReqChampshipReward{}
@ -2186,6 +2217,7 @@ message ResChampshipPreRank{
map<int32, ResPlayerRank> RankList = 1; //
int32 MyRank = 2; //
float MyScore = 3; //
ChampionshipCfg Cfg = 4; //
}
message ResNotifyCard{
@ -2254,6 +2286,58 @@ message ReqAutoAddInviteFriend2{
message ResAutoAddInviteFriend2{
int32 ResultCode = 1;
}
//
message ReqCatReturnGift{}
message CatReturnGiftCfg{
int32 Skin = 1; // id
int32 Prob = 2; //
repeated CatReturnGiftCfgReward RewardList = 3; //
int32 ClearTime = 4; //
}
message CatReturnGiftCfgReward{
int32 Id = 1; // id
int32 Score = 2; //
repeated ItemInfo Reward = 3; //
int32 Total = 4; //
int32 StarReward = 5; //
}
message ResCatReturnGift{
int32 Id = 1; // id
int64 StartTime = 2; //
int64 EndTime = 3; //
int32 Score = 4; //
int32 Reward = 5; //
CatReturnGiftCfg Cfg = 6; //
}
message ReqCatReturnGiftScore{
int32 Score = 1; //
}
message ResCatReturnGiftScore{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqCatReturnGiftReward{}
message ResCatReturnGiftReward{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqCatReturnGiftRewardGift{
int32 Id = 1; // id
}
message ResCatReturnGiftRewardGift{
RES_CODE Code = 1;
string Msg = 2;
}
//
message ReqMining{}
@ -2574,8 +2658,8 @@ message ResPlayroomPetAirSet{
}
// 线
message ReqPlayroomWrokOutline{}
message ResPlayroomWrokOutline{
message ReqPlayroomWorkOutline{}
message ResPlayroomWorkOutline{
RES_CODE Code = 1;
string Msg = 2;
}
@ -3105,7 +3189,69 @@ message ResOrderShipping{
string Msg = 2;
}
message UserDetailParam{
int64 Uid = 1;
}
message ResUserDetail{
int32 Code = 1;
string Msg = 2;
ResUserDetailInfo info = 3;
}
message UserDetailFriendInfo {
int64 Uid = 1;
string NickName = 2;
int32 Avatar = 3;
int32 Level = 4;
int64 LogoutTime = 5;
int64 LoginTime = 6;
string AvatarUrl = 7;
bool OnlineStatus = 8;
}
message UserDetailOrderInfo {
string Id = 1;
int32 Type = 2;
int64 Time = 3;
repeated UserDetailOrderInfoChess Chess = 4;
int32 Diff = 5;
repeated UserDetailOrderInfoChess ChessId = 6;
}
message UserDetailOrderInfoChess {
int32 Id = 1;
string Icon = 2;
}
message ResUserDetailInfo {
string Name = 1;
int64 Uid = 2;
int32 AreaId = 3;
int32 Face = 4;
int32 Charge = 5;
int32 MaxCharge = 6;
int32 Level = 7;
int64 Diamond = 8;
int32 Star = 9;
int32 Energy = 10;
string Mac = 11;
int64 Login = 12;
int64 Cumulative = 13;
int64 RegisterTime = 14;
int64 TodayCumulative = 15;
bool Ban = 16;
int32 Bonus = 17;
string Code = 18;
map<string, int32> ChessMap = 19;
repeated ActLog ActLog = 20;
int32 AdWatch = 21;
repeated UserDetailFriendInfo FriendList = 22;
repeated UserDetailOrderInfo Order = 23;
}
service Backend {
rpc ReloadActivity(ReqActivityCfgReload) returns (ResActivityCfgReload);
rpc OrderShipping(ReqOrderShipping) returns (ResOrderShipping);
rpc UserDetail(UserDetailParam) returns (ResUserDetail);
}

View File

@ -130,7 +130,6 @@
"string"
]
},
{
"in_file": "Champship.xlsx",
"out_file": "ChampshipCfg.txt",
@ -214,7 +213,7 @@
"int"
]
},
{
{
"in_file": "Collect.xlsx",
"out_file": "CollectionsUnlockLineData.txt",
"sheet_name": "CollectionsUnlockLine",
@ -319,6 +318,16 @@
"string"
]
},
{
"in_file": "DecorateCost.xlsx",
"out_file": "DecorateConst.txt",
"sheet_name": "Const",
"coloum_type": [
"int",
"string",
"string"
]
},
{
"in_file": "DialogueData.xlsx",
"out_file": "DialogData.txt",
@ -1254,7 +1263,7 @@
"string"
]
},
{
{
"in_file": "LimitedTimeEvent.xlsx",
"out_file": "LimitedTimeEventConst.txt",
"sheet_name": "Const",
@ -1263,6 +1272,19 @@
"string",
"string"
]
},
{
"in_file": "LimitedTimeEvent.xlsx",
"out_file": "BuildingFeverDecorateOff.txt",
"sheet_name": "DecorateOff",
"coloum_type": [
"int",
"int",
"int",
"int",
"int",
"int"
]
}
]
}