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

This commit is contained in:
mwh 2025-05-13 10:29:44 +08:00
commit 9a6715d27b
6 changed files with 19 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -69,6 +69,7 @@ enum ITEM_POP_LABEL { // item弹窗标签
GetWish = 62; //
PlayroomTask = 63; // playroom任务
PlayroomTaskReward = 64; // playroom任务奖励
PlayroomUpvote = 65; //
}
enum HANDLE_TYPE {
ADD = 0;
@ -930,6 +931,15 @@ message ResGuideReward{
string Msg = 2;
}
message ReqGuidePlayroom{
int32 Id = 1;
}
message ResGuidePlayroom{
RES_CODE Code = 1;
string Msg = 2;
}
message ResGuildInfo{
map<int32, int32> Reward = 1;
}
@ -981,6 +991,8 @@ message DailyTask{
bool UnLock = 2; // 0: 1:
QuestProgress Progress = 3; //
repeated ItemInfo Items = 4; //
int32 Id = 5; //id
int32 Index = 6; //
}
message QuestProgress{
@ -1178,6 +1190,7 @@ message LimitEvent {
float mul = 3; //
int32 StartTime = 4; //
map<string, int32> Param = 5; //key LimitEventParam
int32 ShowTime = 6; //
}
@ -1926,12 +1939,12 @@ message ResPlayroom{
int32 Upvote = 20; //
int32 RoomPoint = 21; //
repeated int32 Unlock = 22; // id
map<int32, DailyTask> DailyTask = 23; //
repeated DailyTask DailyTask = 23; //
repeated int32 DailyTaskReward = 24; //
}
message NotifyPlayroomTask{
map<int32, DailyTask> DailyTask = 1; //
repeated DailyTask DailyTask = 1; //
repeated int32 DailyTaskReward = 2; //
}
@ -2060,12 +2073,13 @@ message ResPlayroomInfo{
int32 Status = 8; // 0 1 2
bool defense = 9; //
map<int32, int32> flip = 10; // <, >
repeated ChipInfo Chip = 11; //
int32 Chip = 11; //
string PetName = 12; //
map<int32, int32> Emoji = 13; //
bool Upvote = 14; //
int32 UpvoteCount = 15; //
map<int32, int32> DressSet = 16; // = id
}
//
message ReqPlayroomFlip{
int32 Id = 1; //

View File

@ -27,7 +27,7 @@ for file_cfg in file_list:
sheet = workbook[sheet_name] if sheet_name else workbook.active
# 将数据写入TXT文件
with open(target_file_path, 'w', encoding='utf-16') as txt_file:
with open(target_file_path, 'w', encoding='utf-8') as txt_file:
header = [str(cell.value) for cell in sheet[1] if cell.value not in fields_to_remove]
txt_file.write('#\t 界面配置表\n')
i = 0