Merge branch 'main' into sdk

This commit is contained in:
hahwu 2025-10-29 16:31:00 +08:00
commit e16ba92dca
10 changed files with 110 additions and 1 deletions

BIN
config/AllLanguage.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
config/Pass.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -79,6 +79,8 @@ enum ITEM_POP_LABEL { // item弹窗标签
PetTheif = 71; //
GuideTaskReward = 72; //
GuideActiveReward = 73; //
PassCharge = 74; //
ActPassReward = 75; //
}
enum HANDLE_TYPE {
ADD = 0;
@ -339,6 +341,7 @@ message ResPlayerBaseInfo{
int32 ChampshipsGroupID = 21;
int32 LastChampGroupID = 22;
string FaceBookId = 23;
int32 register_time = 24;
}
message ReqPlayerAsset{}
//
@ -1417,6 +1420,28 @@ message ResSearchPlayer{
repeated ResPlayerSimple List = 2;
}
message ReqFriendPlayerSimple{
int64 Uid = 1;
}
message ResFriendPlayerSimple{
int64 Uid = 1;
string Name = 2;
int32 Face = 3;
int32 Avatar = 4;
int32 Level = 5;
int32 Decorate = 6;
int32 login = 7;
int32 loginout = 8;
string Facebook = 9;
map<int32, int32> Emoji = 10; //
int64 AddTime = 11; //
int64 Interact = 12; //
map<int32, int32> Playroom = 13; // = id
map<int32, int32> DressSet = 14; // = id
repeated int32 Friend = 15; //
ActLog Last = 16; //
}
message ResPlayerSimple{
int64 Uid = 1;
string Name = 2;
@ -1432,6 +1457,39 @@ message ResPlayerSimple{
int64 Interact = 12; //
}
enum ActLogType {
ACT_LOG_TYPE_NONE = 0; //
ACT_LOG_TYPE_FIRST_LOGIN = 1; //
ACT_LOG_TYPE_COMPLETE_RESTROOM = 2; //
ACT_LOG_TYPE_COMPLETE_RESTAURANT = 3; //
ACT_LOG_TYPE_COMPLETE_BATHROOM = 4; //
ACT_LOG_TYPE_COMPLETE_CLOAKROOM = 5; //
ACT_LOG_TYPE_GET_NEW_AVATAR = 6; //
ACT_LOG_TYPE_GET_NEW_AVATAR_FRAME = 7; //
ACT_LOG_TYPE_GET_NEW_EMOTION = 8; //
ACT_LOG_TYPE_GET_NEW_DECORATION = 9; //
ACT_LOG_TYPE_GET_NEW_COSTUME = 10; //
ACT_LOG_TYPE_COMPLETE_CARD_ALBUM = 11; //
ACT_LOG_TYPE_COMPLETE_ALL_CARDS = 12; //
ACT_LOG_TYPE_GET_CHAMPIONSHIP_RANK = 13; //
ACT_LOG_TYPE_GET_CHAMPIONSHIP_PRIZE = 14; //
ACT_LOG_TYPE_GET_LIMITED_ACTIVITY_PRIZE = 15; //
ACT_LOG_TYPE_JOIN_FRIEND_COOP_ACTIVITY = 16; //
ACT_LOG_TYPE_GET_VISIT_GAME_PRIZE = 17; // 访
ACT_LOG_TYPE_GET_VISIT_GAME_PRIZE_1 = 18; // 访
ACT_LOG_TYPE_OPEN_PET_TREASURE = 19; //
ACT_LOG_TYPE_VISIT_UPVOTE = 20; // 访
ACT_LOG_TYPE_COMPLETE_HANDBOOK_ACHIEVEMENT = 21; //
ACT_LOG_TYPE_COMPLETE_CHAPTER_SCENES = 22; // X章所有场景
ACT_LOG_TYPE_LOST_USER_RETURN = 23; //
}
message ActLog {
int32 Type = 1;
int64 Time = 2;
string Param = 3;
}
message ResPlayerRank{
int64 Uid = 1;
string Name = 2;
@ -1732,6 +1790,20 @@ message ResCharge{
float TodayCharge = 12; //
float MonthCharge = 13; //
int64 AdEndTime = 14; // 广
map<int32, WeeklyDiscountInfo> WeeklyDiscount = 15; // id ->
int64 PetWorkRemainTime = 16; //
int64 WeeklyEndTime = 17; //
}
message LogoutPetWork{
int64 WorkTime = 1; //
int64 RemainTime = 2; //
}
message WeeklyDiscountInfo{
int32 Id = 1; // id
int32 Count = 2; //
int32 Discount = 3; //
}
message WishList {
@ -2007,6 +2079,28 @@ message ResMiningReward{
string Msg = 2;
}
//
message ReqActPass{}
message ResActPass{
int32 Id = 1; // id
int32 Status = 2; // 0 1 2
int32 EndTime = 3; //
int32 Template = 4; //
int32 Score = 6; //
repeated int32 Reward = 7; // Id
bool LowPass = 8; //
bool HighPass = 9; //
}
message ReqActPassReward{
}
message ResActPassReward{
RES_CODE Code = 1;
string Msg = 2;
repeated int32 RewardLevel = 3; // Id
}
message ResActRed{
map<int32, int32> Red = 1; //
}
@ -2140,6 +2234,7 @@ message ResPlayroom{
int64 Revenge = 27; // Uid
repeated AdItem AdItem = 28; // 广
FriendRoom Target = 29; //
map<int32, WeeklyDiscountInfo> WeeklyDiscount = 30; // id ->
}
message NotifyPlayroomTask{

View File

@ -535,6 +535,20 @@
"sheet_name" :"Game",
"fields" :["Template", "Need", "Items"]
},
{
"in_file": "Pass.xlsx",
"out_file": "PassTemplate.json",
"key": "Id",
"sheet_name" :"template",
"fields" :["Template", "ProductLv", "LowChargeId", "ItemId","HighChargeId"]
},
{
"in_file": "Pass.xlsx",
"out_file": "Pass.json",
"key": "Id",
"sheet_name" :"Pass",
"fields" :["Template", "Level", "NeedScore", "TotalScore", "UnlockDiamond", "FreeReward", "LowReward", "HighReward"]
},
{
"in_file": "Mining.xlsx",
"out_file": "MiningTemplate.json",
@ -638,7 +652,7 @@
"out_file": "PlayroomShop.json",
"key": "Id",
"sheet_name" :"Shop",
"fields" :["Type", "ItemId", "Cost","Wish", "Cooldown", "Dailystorage"]
"fields" :["Type", "ItemId", "Cost","Wish", "Cooldown", "Dailystorage", "Discount", "Limit"]
},
{
"in_file": "Playroom.xlsx",