Merge branch 'main' of gitea.bywaystudios.com:wuminzhe/docs

This commit is contained in:
mwh 2024-12-19 19:13:25 +08:00
commit 5a2e3da61a
4 changed files with 95 additions and 0 deletions

BIN
config/FriendTreasure.xlsx Normal file

Binary file not shown.

View File

@ -1544,6 +1544,49 @@ message ResPlayroomOutline{
}
```
## 宠物宝箱
```protobuf
message ReqFriendTreasure{}
message ResFriendTreasure{
int32 Status = 1; // 0 未开始 1 进行中 2 已结束
int32 Star = 2; // 星级
int32 Shift = 3; // 当前挡位
repeated TreasureInfo List = 4; // 列表
}
message TreasureInfo{
int32 Pos = 1; // 位置
int32 Type = 2; // 类型
int32 Face = 3; // 头像
int32 Avatar = 4; // 头像框
}
message ReqFriendTreasureStart{}
message ResFriendTreasureStart{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqFriendTreasureFilp{}
message ResFriendTreasureFilp{
RES_CODE Code = 1;
string Msg = 2;
int32 Pos = 3; // 位置
int32 Type = 4; // 类型
int32 Face = 5; // 头像
int32 Avatar = 6; // 头像框
}
message ResFriendTreasureStar{
int32 Star = 1; // 星级
}
```
## 后台
## SDK

View File

@ -1643,4 +1643,42 @@ message ReqPlayroomChip{
message ResPlayroomChip{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqFriendTreasure{}
message ResFriendTreasure{
int32 Status = 1; // 0 1 2
int32 Star = 2; //
int32 Shift = 3; //
repeated TreasureInfo List = 4; //
}
message TreasureInfo{
int32 Pos = 1; //
int32 Type = 2; //
int32 Face = 3; //
int32 Avatar = 4; //
}
message ReqFriendTreasureStart{}
message ResFriendTreasureStart{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqFriendTreasureFilp{}
message ResFriendTreasureFilp{
RES_CODE Code = 1;
string Msg = 2;
int32 Pos = 3; //
int32 Type = 4; //
int32 Face = 5; //
int32 Avatar = 6; //
}
message ResFriendTreasureStar{
int32 Star = 1; //
}

View File

@ -464,6 +464,20 @@
"key": "Id",
"sheet_name" :"LoginBack",
"fields" :["Num1", "Num2"]
},
{
"in_file": "FriendTreasure.xlsx",
"out_file": "FriendTreasureProb.json",
"key": "Id",
"sheet_name" :"Prob",
"fields" :["Prob", "Add"]
},
{
"in_file": "FriendTreasure.xlsx",
"out_file": "FriendTreasureChest.json",
"key": "Id",
"sheet_name" :"Chest",
"fields" :["Items", "Prob"]
}
]
}