Update stap 1

This commit is contained in:
Akbar Yahya 2022-12-11 12:40:50 +08:00
parent 38986d02a6
commit 4ae84c64c1
19 changed files with 5605 additions and 7271 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -35,10 +35,10 @@ message AvatarDataNotify {
repeated AvatarInfo avatar_list = 14; repeated AvatarInfo avatar_list = 14;
repeated AvatarRenameInfo avatar_rename_list = 8; repeated AvatarRenameInfo avatar_rename_list = 8;
uint32 cur_avatar_team_id = 7; uint32 cur_avatar_team_id = 7;
repeated uint32 Unk3300_HHKJBGKHIEJ = 6; repeated uint32 owned_flycloak_list = 6;
repeated uint64 temp_avatar_guid_list = 15; repeated uint64 temp_avatar_guid_list = 15;
uint64 choose_avatar_guid = 1; uint64 choose_avatar_guid = 1;
map<uint32, AvatarTeam> avatar_team_map = 11; map<uint32, AvatarTeam> avatar_team_map = 11;
repeated uint32 Unk3300_MDNLGGMGHAF = 5; repeated uint32 owned_costume_list = 5;
repeated uint32 backup_avatar_team_order_list = 3; repeated uint32 backup_avatar_team_order_list = 3;
} }

View File

@ -28,8 +28,8 @@ message BattlePassMission {
} }
uint32 cur_progress = 10; uint32 cur_progress = 10;
uint32 Unk3300_MBOMOLFKPPO = 9; uint32 mission_type = 9;
uint32 Unk3300_DAHDCJNCALE = 14; uint32 reward_battle_pass_point = 14;
uint32 total_progress = 12; uint32 total_progress = 12;
uint32 mission_id = 15; uint32 mission_id = 15;
MissionStatus mission_status = 11; MissionStatus mission_status = 11;

View File

@ -32,9 +32,9 @@ message ChatInfo {
bool is_read = 3; bool is_read = 3;
uint32 time = 1; uint32 time = 1;
uint32 Unk3300_HENLDIJMIOE = 10; uint32 to_uid = 10;
uint32 uid = 11; uint32 uid = 11;
uint32 Unk3300_PHBEHIGHOCD = 5; uint32 sequence = 5;
oneof content { oneof content {
string text = 909; string text = 909;
uint32 icon = 990; uint32 icon = 990;

View File

@ -27,9 +27,9 @@ message FleurFairActivityDetailInfo {
uint32 Unk3300_KONOCAMIIIE = 3; uint32 Unk3300_KONOCAMIIIE = 3;
repeated FleurFairChapterInfo chapter_info_list = 5; repeated FleurFairChapterInfo chapter_info_list = 5;
bool is_dungeon_unlocked = 6; bool is_dungeon_unlocked = 6;
map<uint32, FleurFairDungeonSectionInfo> Unk3300_HNFNMCKHAJK = 8; map<uint32, FleurFairDungeonSectionInfo> dungeon_section_info_map = 8;
bool is_content_closed = 13; bool is_content_closed = 13;
map<uint32, FleurFairMinigameInfo> Unk3300_FICFGHJNCOA = 9; map<uint32, FleurFairMinigameInfo> minigame_info_map = 9;
uint32 Unk3300_LOFLGOOIMNH = 10; uint32 Unk3300_LOFLGOOIMNH = 10;
uint32 content_close_time = 4; uint32 content_close_time = 4;
} }

View File

@ -51,7 +51,7 @@ message GetPlayerTokenRsp {
int32 retcode = 2; int32 retcode = 2;
string client_version_random_key = 1152; string client_version_random_key = 1152;
string psn_id = 242; string psn_id = 242;
bool Unk3300_PPGJMLBGJED = 9; bool is_proficient_player = 9;
uint32 platform_type = 10; uint32 platform_type = 10;
uint32 reg_platform = 646; uint32 reg_platform = 646;
StopServerInfo stop_server = 1897; StopServerInfo stop_server = 1897;

View File

@ -23,10 +23,10 @@ option java_package = "emu.grasscutter.net.proto";
message HomeBasicInfo { message HomeBasicInfo {
uint64 exp = 3; uint64 exp = 3;
uint32 Unk3300_AKPAPPGOFGN = 11; uint32 home_owner_uid = 11;
uint32 Unk3300_GNFGFIIGHEA = 14; uint32 cur_room_scene_id = 14;
string owner_nick_name = 6; string owner_nick_name = 6;
uint32 Unk3300_KGCBFKGGHDD = 4; uint32 cur_module_id = 4;
HomeLimitedShopInfo limited_shop_info = 13; HomeLimitedShopInfo limited_shop_info = 13;
bool is_in_edit_mode = 7; bool is_in_edit_mode = 7;
uint32 level = 9; uint32 level = 9;

View File

@ -23,9 +23,9 @@ option java_package = "emu.grasscutter.net.proto";
message HomeLimitedShopInfo { message HomeLimitedShopInfo {
uint32 uid = 9; uint32 uid = 9;
uint32 Unk3300_FKGDIDFIBAA = 8; fixed32 next_guest_open_time = 8;
Vector djinn_rot = 11; Vector djinn_rot = 11;
uint32 Unk3300_DLIEFPNMGFC = 5; fixed32 next_open_time = 5;
Vector djinn_pos = 2; Vector djinn_pos = 2;
uint32 Unk3300_NOJPDKDPPPA = 15; fixed32 next_close_time = 15;
} }

View File

@ -43,7 +43,7 @@ message PlayerEnterSceneNotify {
EnterType type = 12; EnterType type = 12;
repeated uint32 scene_tag_id_list = 5; repeated uint32 scene_tag_id_list = 5;
uint64 scene_begin_time = 9; uint64 scene_begin_time = 9;
uint32 Unk3300_OOLKIEKNKKN = 287; uint32 enter_reason = 287;
uint32 target_uid = 8; uint32 target_uid = 8;
Vector prev_pos = 10; Vector prev_pos = 10;
string scene_transaction = 370; string scene_transaction = 370;

View File

@ -42,7 +42,7 @@ message PlayerLoginReq {
uint32 language_type = 11; uint32 language_type = 11;
uint32 client_data_version = 847; uint32 client_data_version = 847;
uint32 account_type = 7; uint32 account_type = 7;
string Unk3300_BBAABEHNFOE = 868; string security_library_md5 = 868;
string online_id = 577; string online_id = 577;
uint32 Unk3300_PMGFBMJNNCL = 82; uint32 Unk3300_PMGFBMJNNCL = 82;
string device_name = 12; string device_name = 12;
@ -61,7 +61,7 @@ message PlayerLoginReq {
uint32 Unk3300_PIPLDEAPMMN = 1790; uint32 Unk3300_PIPLDEAPMMN = 1790;
TrackingIOInfo tracking_io_info = 1713; TrackingIOInfo tracking_io_info = 1713;
bool is_transfer = 624; bool is_transfer = 624;
string Unk3300_BIAKNIALBFJ = 828; string security_library_version = 828;
string client_version = 2; string client_version = 2;
bool is_guest = 13; bool is_guest = 13;
string system_version = 6; string system_version = 6;

View File

@ -34,10 +34,10 @@ message PlayerLoginRsp {
// } // }
uint64 login_rand = 9; uint64 login_rand = 9;
bytes Unk3300_DHCMDHHDLFF = 2; bytes player_data = 2;
string Unk3300_HMGCPAGLDHB = 16; string client_silence_md5 = 16;
double total_tick_time = 530; double total_tick_time = 530;
bool Unk3300_LLIJKLDBHNN = 5; bool is_use_ability_hash = 5;
bool is_audit = 930; bool is_audit = 930;
string birthday = 1387; string birthday = 1387;
bool Unk3300_HGFNECIJDLN = 13; bool Unk3300_HGFNECIJDLN = 13;
@ -50,11 +50,11 @@ message PlayerLoginRsp {
ResVersionConfig res_version_config = 808; ResVersionConfig res_version_config = 808;
uint32 client_silence_data_version = 1; uint32 client_silence_data_version = 1;
uint32 target_uid = 15; uint32 target_uid = 15;
string Unk3300_NEICPFBPNPD = 99; string register_cps = 99;
bool Unk3300_CANONIPHMDI = 1522; bool is_sc_open = 1522;
bool Unk3300_IIHDKKNJPGD = 8; bool Unk3300_IIHDKKNJPGD = 8;
uint32 player_data_version = 14; uint32 player_data_version = 14;
bytes Unk3300_MOPDDGHMKBD = 1888; bytes sc_info = 1888;
string country_code = 360; string country_code = 360;
ResVersionConfig next_res_version_config = 1688; ResVersionConfig next_res_version_config = 1688;
bool Unk3300_IADLIIMGDMC = 17; bool Unk3300_IADLIIMGDMC = 17;
@ -65,7 +65,7 @@ message PlayerLoginRsp {
map<string, int32> ability_hash_map = 3; map<string, int32> ability_hash_map = 3;
int32 ability_hash_code = 12; int32 ability_hash_code = 12;
uint32 client_data_version = 10; uint32 client_data_version = 10;
string Unk3300_OPGDBOLKLJA = 1299; string client_md5 = 1299;
int32 retcode = 7; int32 retcode = 7;
repeated FeatureBlockInfo feature_block_info_list = 138; repeated FeatureBlockInfo feature_block_info_list = 138;
} }

View File

@ -0,0 +1,27 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum ReliquaryFilterKey {
RELIQUARY_FILTER_KEY_NONE = 0;
RELIQUARY_FILTER_KEY_LOCK = 1;
RELIQUARY_FILTER_KEY_LEVEL = 2;
RELIQUARY_FILTER_KEY_WEARING = 3;
}

View File

@ -0,0 +1,26 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum ReliquaryFilterLevelState {
RELIQUARY_FILTER_LEVEL_STATE_NONE = 0;
RELIQUARY_FILTER_LEVEL_STATE_FULL_LEVEL = 1;
RELIQUARY_FILTER_LEVEL_STATE_NOT_FULL_LEVEL = 2;
}

View File

@ -0,0 +1,26 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum ReliquaryFilterLockState {
RELIQUARY_FILTER_LOCK_STATE_NONE = 0;
RELIQUARY_FILTER_LOCK_STATE_LOCK = 1;
RELIQUARY_FILTER_LOCK_STATE_UNLOCK = 2;
}

View File

@ -0,0 +1,26 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum ReliquaryFilterWearedState {
RELIQUARY_FILTER_WEARED_STATE_NONE = 0;
RELIQUARY_FILTER_WEARED_STATE_HAS_BEEN_WEARED = 1;
RELIQUARY_FILTER_WEARED_STATE_HAS_NOT_BEEN_WEARED = 2;
}

View File

@ -30,7 +30,7 @@ message StoreWeightLimitNotify {
// ENET_IS_RELIABLE = 1; // ENET_IS_RELIABLE = 1;
// } // }
uint32 Unk3300_ICDKCEOJKKG = 14; uint32 reliquary_count_limit = 14;
uint32 Unk3300_NIKMCBLHFNJ = 10; uint32 Unk3300_NIKMCBLHFNJ = 10;
uint32 Unk3300_OONMFCGDMMF = 5; uint32 Unk3300_OONMFCGDMMF = 5;
uint32 Unk3300_JGPODDEKAPB = 1; uint32 Unk3300_JGPODDEKAPB = 1;

View File

@ -33,11 +33,11 @@ message TowerAllDataRsp {
// } // }
uint32 Unk3300_HCDFJBHMHHF = 6; uint32 Unk3300_HCDFJBHMHHF = 6;
uint32 Unk3300_ILDODKDADMI = 8; uint32 next_schedule_change_time = 8;
bool is_first_interact = 5; bool is_first_interact = 5;
uint32 tower_schedule_id = 1; uint32 tower_schedule_id = 1;
uint32 Unk3300_JBACKENDHDG = 10; uint32 Unk3300_JBACKENDHDG = 10;
uint32 Unk3300_KGHOIIAEIHH = 610; uint32 schedule_start_time = 610;
int32 retcode = 11; int32 retcode = 11;
uint32 Unk3300_OHCHCJGJIDK = 4; uint32 Unk3300_OHCHCJGJIDK = 4;
uint32 Unk3300_BBHKBDDFPFE = 2; uint32 Unk3300_BBHKBDDFPFE = 2;

85
proto/VirtualItem.proto Normal file
View File

@ -0,0 +1,85 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
enum VirtualItem {
VIRTUAL_ITEM_VIRTUAL_NONE = 0;
VIRTUAL_ITEM_VIRTUAL_AVATAR_EXP = 101;
VIRTUAL_ITEM_VIRTUAL_PLAYER_EXP = 102;
VIRTUAL_ITEM_VIRTUAL_FETTER_EXP = 105;
VIRTUAL_ITEM_VIRTUAL_RESIN = 106;
VIRTUAL_ITEM_VIRTUAL_LEGENDARY_KEY = 107;
VIRTUAL_ITEM_VIRTUAL_ASTER_PROGRESS = 108;
VIRTUAL_ITEM_VIRTUAL_ASTER_CREDIT = 109;
VIRTUAL_ITEM_VIRTUAL_ASTER_TOKEN = 110;
VIRTUAL_ITEM_VIRTUAL_SHIMMERING_ESSENCE = 111;
VIRTUAL_ITEM_VIRTUAL_WARM_ESSENCE = 112;
VIRTUAL_ITEM_VIRTUAL_WONDROUS_ESSENCE = 113;
VIRTUAL_ITEM_VIRTUAL_TREASURE_MAP_TOKEN = 114;
VIRTUAL_ITEM_VIRTUAL_SEA_LAMP_COIN = 115;
VIRTUAL_ITEM_VIRTUAL_SEA_LAMP_POPULARITY = 116;
VIRTUAL_ITEM_VIRTUAL_MECHANICUS_COIN = 117;
VIRTUAL_ITEM_VIRTUAL_FLEUR_FAIR_CREDIT = 118;
VIRTUAL_ITEM_VIRTUAL_FLEUR_FAIR_TOKEN = 119;
VIRTUAL_ITEM_VIRTUAL_WATER_SPIRIT_COIN = 120;
VIRTUAL_ITEM_VIRTUAL_HOME_EXP = 121;
VIRTUAL_ITEM_VIRTUAL_CHANNELLER_SLAB_TOKEN = 122;
VIRTUAL_ITEM_VIRTUAL_HIDE_AND_SEEK_COIN = 123;
VIRTUAL_ITEM_VIRTUAL_SUMMER_TIME_DRAFT_WOOD = 124;
VIRTUAL_ITEM_VIRTUAL_SUMMER_TIME_MINI_HARPASTUM = 125;
VIRTUAL_ITEM_VIRTUAL_BOUNCE_CONJURING_COIN = 126;
VIRTUAL_ITEM_VIRTUAL_BLITZ_RUSH_COIN_A = 127;
VIRTUAL_ITEM_VIRTUAL_BLITZ_RUSH_COIN_B = 128;
VIRTUAL_ITEM_VIRTUAL_CHESS_EXP = 129;
VIRTUAL_ITEM_VIRTUAL_CHESS_COIN = 130;
VIRTUAL_ITEM_VIRTUAL_LUNA_RITE_ATMOSPHERE = 131;
VIRTUAL_ITEM_VIRTUAL_ROGUELIKE_COIN_A = 132;
VIRTUAL_ITEM_VIRTUAL_ROGUELIKE_COIN_B = 133;
VIRTUAL_ITEM_VIRTUAL_ROGUELIKE_COIN_C = 134;
VIRTUAL_ITEM_VIRTUAL_WINTER_CAMP_COIN_A = 135;
VIRTUAL_ITEM_VIRTUAL_WINTER_CAMP_COIN_B = 136;
VIRTUAL_ITEM_VIRTUAL_LANTERN_RITE_COIN_A = 137;
VIRTUAL_ITEM_VIRTUAL_LANTERN_RITE_COIN_B = 138;
VIRTUAL_ITEM_VIRTUAL_LANTERN_RITE_COIN_C = 139;
VIRTUAL_ITEM_VIRTUAL_ROGUE_DIARY_COIN = 140;
VIRTUAL_ITEM_VIRTUAL_SUMMER_TIME_V2_COIN = 141;
VIRTUAL_ITEM_VIRTUAL_ROGUE_DIARY_DUNGEON_COIN = 142;
VIRTUAL_ITEM_VIRTUAL_GRAVEN_INNOCENCE_COIN_A = 143;
VIRTUAL_ITEM_VIRTUAL_GRAVEN_INNOCENCE_COIN_B = 144;
VIRTUAL_ITEM_VIRTUAL_TREASURE_SEELIE_COIN = 145;
VIRTUAL_ITEM_VIRTUAL_VINTAGE_POPULARITY = 147;
VIRTUAL_ITEM_VIRTUAL_GCG_EXP = 146;
VIRTUAL_ITEM_VIRTUAL_VINTAGE_MARKET_COIN_A = 148;
VIRTUAL_ITEM_VIRTUAL_VINTAGE_MARKET_COIN_B = 149;
VIRTUAL_ITEM_VIRTUAL_VINTAGE_MARKET_COIN_C = 150;
VIRTUAL_ITEM_VIRTUAL_FUNGUS_FIGHTER_CAPTURE_COIN = 151;
VIRTUAL_ITEM_VIRTUAL_FUNGUS_FIGHTER_TRAINING_COIN = 152;
VIRTUAL_ITEM_VIRTUAL_EFFIGY_CHALLENGE_V2_COIN = 153;
VIRTUAL_ITEM_VIRTUAL_BRICK_BREAKER_COIN = 155;
VIRTUAL_ITEM_VIRTUAL_HCOIN = 201;
VIRTUAL_ITEM_VIRTUAL_SCOIN = 202;
VIRTUAL_ITEM_VIRTUAL_MCOIN = 203;
VIRTUAL_ITEM_VIRTUAL_HOME_COIN = 204;
VIRTUAL_ITEM_VIRTUAL_GCG_COIN = 205;
VIRTUAL_ITEM_VIRTUAL_INAZUMA_REPUTATION = 314;
VIRTUAL_ITEM_VIRTUAL_MENGDE_REPUTATION = 315;
VIRTUAL_ITEM_VIRTUAL_SUMERU_REPUTATION = 316;
VIRTUAL_ITEM_VIRTUAL_LIYUE_REPUTATION = 317;
}