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

# Conflicts:
#	config/Playroom.xlsx
This commit is contained in:
zhengxianxin 2025-03-17 09:55:24 +08:00
commit 9da6f94185
17 changed files with 188 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
config/Collect.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
config/Emoji.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
config/Handbook.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -59,6 +59,10 @@ enum ITEM_POP_LABEL { // item弹窗标签
CardSeasonFirstReward = 52; //
AllCollectRewardHB = 53; //
PlayroomShop = 54; // playroom商店
HandbookAllReward = 55; //
TLUpvote = 56; // 线
Collect = 57; //
ActivityGift = 58; //
}
enum HANDLE_TYPE {
ADD = 0;
@ -300,6 +304,7 @@ message ResUpdatePlayerChessData{
string msg = 2;
}
//
message ReqSeparateChess{
int32 ChessId = 1;
map<string, int32> mChessData = 2;
@ -310,6 +315,17 @@ message ResSeparateChess{
string msg = 2;
}
//
message ReqUpgradeChess{
int32 ChessId = 1;
map<string, int32> mChessData = 2;
}
message ResUpgradeChess{
RES_CODE code = 1;
string msg = 2;
}
//
message ReqGetChessFromBuff{
int32 ChessId = 1;
@ -469,6 +485,8 @@ message UserInfo {
repeated FaceInfo FaceList = 7;
int32 Login = 8; //
string PetName = 9; //
repeated EmojiInfo EmojiList = 10; //
map<int32, int32> SetEmoji = 11; //
}
//
@ -512,6 +530,11 @@ message ReqGetHandbookReward {
int32 ChessId = 1;
}
message ResGetHandbookReward{
RES_CODE Code = 1;
string Msg = 2;
}
message HandbookInfo {
int32 ChessId = 1;
int32 Status = 2;
@ -521,11 +544,16 @@ message Handbook {
repeated HandbookInfo Handbooks = 1;
}
message ResGetHandbookReward{
message RegHandbookAllReward{
string Type = 1; // "棋子系列 A B C"
}
message ResHandbookAllReward{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqRewardOrder{
int32 OrderId = 1;
map<string, int32> mChessData = 2;
@ -546,6 +574,15 @@ message ResDelOrder{
string Msg = 2;
}
//
message ReqSellChessNum{
int32 ChessId = 1;
}
message ResSellChessNum{
int32 Num = 1;
}
message Order{
int32 Id = 1;
repeated int32 ChessId = 2;
@ -899,8 +936,9 @@ message ResFaceInfo{
int32 SetId = 2;
}
message FaceInfo{
int32 Id = 1;
int64 EndTime = 2;
int32 Id = 1; // id
int64 EndTime = 2; //
int64 AddTime = 3; //
}
message ReqSetFace{
@ -920,8 +958,9 @@ message ResAvatarInfo{
}
message AvatarInfo{
int32 Id = 1;
int64 EndTime = 2;
int32 Id = 1; // id
int64 EndTime = 2; //
int64 AddTime = 3; //
}
message ReqSetAvatar{
int32 Avatar = 1;
@ -932,6 +971,24 @@ message ResSetAvatar{
string Msg = 2;
}
// Emoji
message EmojiInfo{
int32 Id = 1; // id
int64 EndTime = 2; //
int64 AddTime = 3; //
}
//
message ReqSetEmoji{
int32 Id = 1; // Id
int32 Type = 2; // Greeting = 0, Happy = 1, Taunt = 2, Fail = 3
}
message ResSetEmoji{
RES_CODE Code = 1;
string Msg = 2;
}
//
message ResSevenLogin{
repeated SevenLoginReward WeekReward = 1; //
@ -1037,7 +1094,12 @@ message ResChessRainReward{
int32 Id = 2; // id
}
message ReqFastProduceInfo{}
message ResFastProduceInfo{
int32 Energy = 1; //
int32 Num = 2; //
int64 EndTime = 3; //
}
//
message ReqFastProduceReward{
@ -1047,6 +1109,8 @@ message ReqFastProduceReward{
message ResFastProduceReward{
RES_CODE Code = 1;
string Msg = 2;
int64 EndTime = 3;
int32 Num = 4;
}
//
@ -1072,6 +1136,7 @@ message ResPlayerSimple{
int32 login = 7;
int32 loginout = 8;
string Facebook = 9;
map<int32, int32> Emoji = 10; //
}
message ResPlayerRank{
@ -1089,6 +1154,7 @@ message ResFriendLog{
int32 Time = 3;
string Param = 4;
int32 Id = 5;
bool Upvote = 6; //
}
message NotifyFriendLog{
@ -1166,6 +1232,17 @@ message ResFriendTimeLine{
repeated ResFriendLog Log = 1;
}
// 线
message ReqFriendTLUpvote{
int32 Id = 1;
}
message ResFriendTLUpvote{
RES_CODE Code = 1;
string Msg = 2;
int32 Id = 3;
}
message ResFriendApplyNotify{
ResPlayerSimple Player = 1;
int32 Type = 2; // 1: 2: 3: 4:
@ -1686,6 +1763,7 @@ message ResPlayroomInfo{
map<int32, int32> flip = 10; // <, >
int32 Chip = 11; //
string PetName = 12; //
map<int32, int32> Emoji = 13; //
}
@ -1865,6 +1943,28 @@ message ReqKafkaLog{
string Data = 2;
}
message ReqCollectInfo{}
message ResCollectInfo{
repeated int32 Id = 1; // [1,10,19]
repeated CollectItem Items = 2; //
}
message CollectItem{
int32 Id = 1; //
repeated ItemInfo Items = 2; //
}
message ReqCollect{
int32 Id = 1; // id
}
message ResCollect{
RES_CODE Code = 1;
string Msg = 2;
}
// --------------------------------------
message AdminReq{
string Func = 1;

View File

@ -19,6 +19,37 @@
"out_file":"SensitiveWords.txt",
"sheet_name":"SensitiveWords",
"coloum_type":["int","string"]
},
{
"in_file":"Avatar.xlsx",
"out_file":"FrameData.txt",
"sheet_name":"Avatar",
"coloum_type":["int","string","string","int","string"]
},
{
"in_file":"Emoji.xlsx",
"out_file":"EmojiData.txt",
"sheet_name":"Emoji",
"coloum_type":["int","string","string","int","string","string"]
},
{
"in_file":"Face.xlsx",
"out_file":"HeadData.txt",
"sheet_name":"Face",
"coloum_type":["int","string","string","int","string"]
},
{
"in_file":"Collect.xlsx",
"out_file":"CollectionsRewardsData.txt",
"sheet_name":"Collect",
"coloum_type":["int","int","int","int"]
},
{
"in_file":"Item.xlsx",
"out_file":"NetworkItemData.txt",
"sheet_name":"Item",
"coloum_type":["int","String","int","string"]
}
]
}

View File

@ -192,6 +192,13 @@
"sheet_name" :"Avatar",
"fields" :["Init"]
},
{
"in_file": "Emoji.xlsx",
"out_file": "Emoji.json",
"key": "Id",
"sheet_name" :"Emoji",
"fields" :["Type", "Init"]
},
{
"in_file": "SevenLoginCfg.xlsx",
"out_file": "SevenLogin.json",
@ -232,7 +239,14 @@
"out_file": "Activity.json",
"key": "Id",
"sheet_name" :"Activity",
"fields" :["Type", "StartTime", "EndTime", "Name", "Title", "Mail", "Reward"]
"fields" :["Type", "AType", "StartTime", "EndTime", "Name", "Title", "Mail", "Reward"]
},
{
"in_file": "Activity.xlsx",
"out_file": "ActivityGift.json",
"key": "Id",
"sheet_name" :"Gift",
"fields" :["AId", "ChargeId", "Items"]
},
{
"in_file": "LimitedTimeEvent.xlsx",
@ -535,6 +549,34 @@
"sheet_name" :"LoginBack",
"fields" :["Num1", "Num2"]
},
{
"in_file": "Handbook.xlsx",
"out_file": "Handbook.json",
"key": "Type",
"sheet_name" :"Handbook",
"fields" :["Items"]
},
{
"in_file": "Collect.xlsx",
"out_file": "Collect.json",
"key": "Id",
"sheet_name" :"Collect",
"fields" :["Type", "Need"]
},
{
"in_file": "Collect.xlsx",
"out_file": "CollectJackpot.json",
"key": "Id",
"sheet_name" :"Jackpot",
"fields" :["Items"]
},
{
"in_file": "Handbook.xlsx",
"out_file": "HandbookConst.json",
"key": "Key",
"sheet_name" :"Const",
"fields" :["Value"]
},
{
"in_file": "FriendTreasure.xlsx",
"out_file": "FriendTreasureProb.json",
@ -548,6 +590,13 @@
"key": "Id",
"sheet_name" :"Chest",
"fields" :["Items", "Prob"]
},
{
"in_file": "FriendTreasure.xlsx",
"out_file": "FriendTreasureConst.json",
"key": "Key",
"sheet_name" :"Const",
"fields" :["Value"]
}
]
]
}