proto for friendship p2

This commit is contained in:
Yuuki 2024-08-21 05:45:19 +08:00
parent 444f5ce0f9
commit 914007d231
33 changed files with 185 additions and 484 deletions

View File

@ -1,22 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 22083
// Obf: PDKOLMGNNBP
// 4.7.0
// CmdId: 22689
// Obf: IOBLPIFEACE
message AddBackupAvatarTeamReq {
}

View File

@ -1,25 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
import "FriendBrief.proto";
// CmdId: 27323
// Obf: NADOGBCLNJI
// 4.7.0
// CmdId: 27545?,147
// Obf: GGACHDHALAE
message AskAddFriendNotify {
uint32 target_uid = 3;
FriendBrief target_friend_brief = 7;
uint32 target_uid = 12;
FriendBrief target_friend_brief = 9;
}

View File

@ -1,23 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 9257
// Obf: DHLNDCPMCPG
// 4.7.0
// CmdId: 4872
// Obf: BDGPNIDOEIB
message AskAddFriendReq {
uint32 target_uid = 8;
uint32 target_uid = 11;
}

View File

@ -1,25 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 1146
// Obf: DGNBHNPCBNC
// 4.7.0
// CmdId: 3297
// Obf: ?
message AskAddFriendRsp {
uint32 target_uid = 3;
int32 retcode = 15;
uint32 param = 7;
uint32 target_uid = 14;
int32 retcode = 15; // OK
uint32 param = 13;
}

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// 4.7.0
enum ChangeHpDebts {
CHANGE_HP_DEBTS_NONE = 0;
CHANGE_HP_DEBTS_PAY = 1;
CHANGE_HP_DEBTS_PAYFINISH = 2;
CHANGE_HP_DEBTS_CLEAR = 21;
CHANGE_HP_DEBTS_ADDABILiTY = 51;
CHANGE_HP_DEBTS_NONE = 0;
CHANGE_HP_DEBTS_PAY = 1;
CHANGE_HP_DEBTS_PAY_FINISH = 2;
CHANGE_HP_DEBTS_CLEAR = 21;
CHANGE_HP_DEBTS_REDUCE_ABILITY = 41;
CHANGE_HP_DEBTS_ADD_ABILITY = 51;
}

View File

@ -1,41 +1,41 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
//obf: MKHKMLCFAAJ
// 4.7.0
enum ChangeHpReason {
CHANGE_HP_REASON_NONE = 0;
CHANGE_HP_REASON_SUB_AVATAR = 1;
CHANGE_HP_REASON_SUB_MONSTER = 2;
CHANGE_HP_REASON_SUB_GEAR = 3;
CHANGE_HP_REASON_SUB_ENVIR = 4;
CHANGE_HP_REASON_SUB_FALL = 5;
CHANGE_HP_REASON_SUB_DRAWN = 6;
CHANGE_HP_REASON_SUB_ABYSS = 7;
CHANGE_HP_REASON_SUB_ABILITY = 8;
CHANGE_HP_REASON_SUB_SUMMON = 9;
CHANGE_HP_REASON_SUB_SCRIPT = 10;
CHANGE_HP_REASON_SUB_GM = 11;
CHANGE_HP_REASON_SUB_KILL_SELF = 12;
CHANGE_HP_REASON_SUB_CLIMATE_COLD = 13;
CHANGE_HP_REASON_SUB_STORM_LIGHTNING = 14;
CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET = 15;
CHANGE_HP_REASON_SUB_REPLACE = 16;
CHANGE_HP_REASON_SUB_PLAYER_LEAVE = 17;
CHANGE_HP_REASON_ATTACK_BY_ENERGY = 18;
CHANGE_HP_REASON_ATTACK_BY_RECYCLE = 19;
CHANGE_HP_REASON_SUB_PLAYER_BACK = 20;
CHANGE_HP_REASON_SUB_UGC = 21;
CHANGE_HP_REASON_SUB_DIRTY_WATER_EROSION = 22;
CHANGE_HP_REASON_SUB_DESTROY_SELF = 23;
CHANGE_HP_REASON_BY_LUA = 51;
CHANGE_HP_REASON_ADD_ABILITY = 101;
CHANGE_HP_REASON_ADD_ITEM = 102;
CHANGE_HP_REASON_ADD_REVIVE = 103;
CHANGE_HP_REASON_ADD_UPGRADE = 104;
CHANGE_HP_REASON_ADD_STATUE = 105;
CHANGE_HP_REASON_ADD_BACKGROUND = 106;
CHANGE_HP_REASON_ADD_GM = 107;
CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY = 108;
CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING = 109;
CHANGE_HP_REASON_ADD_EFFIGY_CHALLENGE_V5 = 110;
CHANGE_HP_REASON_NONE = 0;
CHANGE_HP_REASON_SUB_AVATAR = 1;
CHANGE_HP_REASON_SUB_MONSTER = 2;
CHANGE_HP_REASON_SUB_GEAR = 3;
CHANGE_HP_REASON_SUB_ENVIR = 4;
CHANGE_HP_REASON_SUB_FALL = 5;
CHANGE_HP_REASON_SUB_DRAWN = 6;
CHANGE_HP_REASON_SUB_ABYSS = 7;
CHANGE_HP_REASON_SUB_ABILITY = 8;
CHANGE_HP_REASON_SUB_SUMMON = 9;
CHANGE_HP_REASON_SUB_SCRIPT = 10;
CHANGE_HP_REASON_SUB_GM = 11;
CHANGE_HP_REASON_SUB_KILL_SELF = 12;
CHANGE_HP_REASON_SUB_CLIMATE_COLD = 13;
CHANGE_HP_REASON_SUB_STORM_LIGHTNING = 14;
CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET = 15;
CHANGE_HP_REASON_SUB_REPLACE = 16;
CHANGE_HP_REASON_SUB_PLAYER_LEAVE = 17;
CHANGE_HP_REASON_ATTACK_BY_ENERGY = 18;
CHANGE_HP_REASON_ATTACK_BY_RECYCLE = 19;
CHANGE_HP_REASON_SUB_PLAYER_BACK = 20;
CHANGE_HP_REASON_SUB_UGC = 21;
CHANGE_HP_REASON_SUB_DIRTY_WATER_EROSION = 22;
CHANGE_HP_REASON_SUB_DESTROY_SELF = 23;
CHANGE_HP_REASON_BY_LUA = 51;
CHANGE_HP_REASON_ADD_ABILITY = 101;
CHANGE_HP_REASON_ADD_ITEM = 102;
CHANGE_HP_REASON_ADD_REVIVE = 103;
CHANGE_HP_REASON_ADD_UPGRADE = 104;
CHANGE_HP_REASON_ADD_STATUE = 105;
CHANGE_HP_REASON_ADD_BACKGROUND = 106;
CHANGE_HP_REASON_ADD_GM = 107;
CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY = 108;
CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING = 109;
CHANGE_HP_REASON_ADD_EFFIGY_CHALLENGE_V5 = 110;
}

View File

@ -1,24 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 29260
// Obf: GIEGGDAJFBE
// 4.7.0
// CmdId: 26305
// Obf: MOANBPAGANO
message ChangeMpTeamAvatarReq {
uint64 cur_avatar_guid = 2;
repeated uint64 avatar_guid_list = 12;
uint64 cur_avatar_guid = 2; // OK
repeated uint64 avatar_guid_list = 11;
}

View File

@ -1,25 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 352
// Obf: LFHCFAFFODE
// 4.7.0
// CmdId: 23226
// Obf: GJEGHGGGHDN
message ChangeMpTeamAvatarRsp {
repeated uint64 avatar_guid_list = 10;
uint64 cur_avatar_guid = 13;
int32 retcode = 9;
repeated uint64 avatar_guid_list = 4;
uint64 cur_avatar_guid = 3;
int32 retcode = 14;
}

View File

@ -1,12 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 9147
// Version: 4.6.0
// Obfs: LOCACCFEBLN
// CmdId: 22940
// Version: 4.7.0
// Obfs: DAJOOCKKLLJ ?
message ClientLoadingCostumeVerificationNotify {
uint64 prefab_hash = 2;
uint32 costume_id = 4;
uint64 guid = 6;
uint64 prefab_hash = 15;
uint32 costume_id = 2;
uint64 guid = 10;
}

View File

@ -1,26 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 3165
// Obf: KPKNHHAMCOG
// 4.7.0
// CmdId: 1503
// Obf: ?
message ClientScriptEventNotify {
uint32 source_entity_id = 14;
uint32 target_entity_id = 1;
uint32 event_type = 4;
repeated int32 param_list = 2;
uint32 source_entity_id = 5;
uint32 target_entity_id = 2;
uint32 event_type = 10;
repeated int32 param_list = 4;
}

View File

@ -1,25 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
import "DealAddFriendResultType.proto";
// CmdId: 25212
// Obf: FAIFBJNFCAG
// CmdId: 1458
// Obf: MDIDNIHDCCK
message DealAddFriendReq {
DealAddFriendResultType deal_add_friend_result = 11;
uint32 target_uid = 1;
DealAddFriendResultType deal_add_friend_result = 1;
uint32 target_uid = 7;
}

View File

@ -1,26 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
import "DealAddFriendResultType.proto";
// CmdId: 9178
// Obf: BCEPNMLPFLB
// CmdId: 29333
// Obf: BPBCKIEJHOO
message DealAddFriendRsp {
int32 retcode = 6;
uint32 target_uid = 12;
DealAddFriendResultType deal_add_friend_result = 7;
int32 retcode = 3;
uint32 target_uid = 8;
DealAddFriendResultType deal_add_friend_result = 4;
}

View File

@ -1,23 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 9455
// Obf: KIFNLHMNCMM
// 4.7.0
// CmdId: 20273
// Obf: GIMKMOAJCLA
message DelBackupAvatarTeamReq {
uint32 backup_avatar_team_id = 10;
uint32 backup_avatar_team_id = 9;
}

View File

@ -1,24 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 3661
// Obf: FFNGPJOGGAC
// 4.7.0
// CmdId: 5780
// Obf: PIDEENPNKFG
message DelBackupAvatarTeamRsp {
int32 retcode = 6;
uint32 backup_avatar_team_id = 14;
int32 retcode = 1;
uint32 backup_avatar_team_id = 15;
}

View File

@ -1,23 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 3037
// Obf: PALNPHNIHDF
// CmdId: 26120
// Obf: BPDICGMOACG
message DeleteFriendReq {
uint32 target_uid = 11;
uint32 target_uid = 4;
}

View File

@ -1,23 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
import "MotionInfo.proto";
// Obf: LHBMDEAGHFD
// 4.7.0 ?
// Obf: ?
message EntityMoveInfo {
uint32 entity_id = 1;
MotionInfo motion_info = 2;

View File

@ -1,34 +1,19 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
import "ForwardType.proto";
import "HitColliderType.proto";
import "Vector.proto";
// CmdId: 23746
// Obf: LAFKEDKPKIM
// 4.7.0
// CmdId: 5735
// Obf: ?
message EvtBulletHitNotify {
ForwardType forward_type = 3;
HitColliderType hit_collider_type = 5;
uint32 KDBDDHAOOME = 6;
Vector hit_point = 1;
uint32 HNMABCLIAMB = 7;
Vector hit_normal = 4;
uint32 entity_id = 9;
int32 hit_box_index = 12;
uint32 forward_peer = 8;
ForwardType forward_type = 1;
HitColliderType hit_collider_type = 7;
Vector hit_point = 5; // sus
Vector hit_normal = 11; // sus
uint32 entity_id = 6;
int32 hit_box_index = 14;
uint32 forward_peer = 9;
uint32 uk1 = 8;
uint32 uk2 = 15;
}

View File

@ -1,28 +1,13 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 21665
// Obf: DNNMIGPCKOH
// 4.7.0
// CmdId: 4777
// Obf: ?
message GetOnlinePlayerInfoReq {
bool is_online_id = 7;
bool is_online_id = 9;
oneof player_id {
uint32 target_uid = 3;
string online_id = 11;
string psn_id = 4;
uint32 target_uid = 10;
string online_id = 8;
string psn_id = 3;
}
}

View File

@ -1,27 +1,12 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
import "OnlinePlayerInfo.proto";
// CmdId: 8759
// Obf: LDNOEIHGGKN
// 4.7.0
// CmdId: 1490
// Obf: ACFKBEAGCNK
message GetOnlinePlayerInfoRsp {
uint32 target_uid = 2;
OnlinePlayerInfo target_player_info = 14;
uint32 param = 5;
int32 retcode = 6;
uint32 target_uid = 2; // OK
OnlinePlayerInfo target_player_info = 12;
uint32 param = 7;
int32 retcode = 13;
}

View File

@ -1,22 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 3520
// Obf: FHNBEAINLJA
// 4.7.0
// CmdId: 23308
// Obf: ?
message GetPlayerAskFriendListReq {
}

View File

@ -1,25 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
import "FriendBrief.proto";
// CmdId: 20085
// Obf: JGLDEDHOMNL
// CmdId: 8429
// Obf: ?
message GetPlayerAskFriendListRsp {
repeated FriendBrief ask_friend_list = 12;
int32 retcode = 13;
repeated FriendBrief ask_friend_list = 6;
int32 retcode = 12;
}

View File

@ -1,6 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// 4.7.0 ?
message GetPlayerFriendListReq {
}

View File

@ -1,8 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "FriendBrief.proto";
// 4.7.0
message GetPlayerFriendListRsp {
repeated FriendBrief friend_list = 1;

View File

@ -4,7 +4,7 @@ import "OnlinePlayerInfo.proto";
// CmdId: 7182 ? (4.7.0)
// Obf: HKDJLHPMDFP
message PlayerApplyEnterMpNotify {
uint32 src_app_id = 15;
uint32 src_thread_index = 9;
uint32 src_app_id = 9;
uint32 src_thread_index = 15;
OnlinePlayerInfo src_player_info = 14;
}

View File

@ -1,7 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1143 (4.7.0)
// Obf: BFHAGEOJCPG
// CmdId: 27203 (4.7.0)
// Obf: BPINAIKKBEL
message PlayerApplyEnterMpResultNotify {
enum Reason {

View File

@ -1,11 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChatInfo.proto";
// 4.6.0
// CmdId: 9695
// 4.7.0
// CmdId: 1772
// OJDDKJJMMKK
message PlayerChatNotify {
ChatInfo chat_info = 9;
uint32 channel_id = 12;
ChatInfo chat_info = 6;
uint32 channel_id = 2;
}

View File

@ -1,11 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChatInfo.proto";
// 4.6.0
// CmdId: 26464
// 4.7.0
// CmdId: 5171?
message PlayerChatReq {
uint32 channel_id = 9;
ChatInfo chat_info = 10;
uint32 channel_id = 1;
ChatInfo chat_info = 9;
}

View File

@ -7,23 +7,23 @@ import "MapLayerInfo.proto";
// 4.7.0
message PlayerEnterSceneNotify {
uint32 target_uid = 7;
uint64 scene_begin_time = 6;
uint32 scene_id = 13;
uint32 enter_scene_token = 15;
string scene_transaction = 607;
repeated uint32 scene_tag_id_list = 9;
Vector pos = 10;
EnterType type = 1;
uint32 create_player_uid = 1749;
MapLayerInfo map_layer_info = 1413;
uint32 target_uid = 7; // OK
uint64 scene_begin_time = 6; // OK
uint32 scene_id = 13; // OK
uint32 enter_scene_token = 15; // OK
string scene_transaction = 607; // OK
repeated uint32 scene_tag_id_list = 9; // OK
Vector pos = 10; // OK
EnterType type = 1; // OK
uint32 create_player_uid = 1749; // OK
MapLayerInfo map_layer_info = 1413; // OK
bool is_skip_ui = 237;
bool is_first_login_enter_scene = 289;
Vector prev_pos = 1414;
uint32 prev_scene_id = 81;
uint32 world_type = 1327;
uint32 enter_reason = 670;
uint32 LAJGLCIFKCP = 1820;
// uint32 LAJGLCIFKCP = 1820;
uint32 world_level = 5;
uint32 dungeon_id = 11;
}

View File

@ -1,32 +1,15 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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";
// CmdId: 23905
// Obf: ONELCJDDCIP
// 4.7.0
// CmdId: 22149
// Obf: GPMDAELMECF
message PlayerPreEnterMpNotify {
// Obf: CIAEAJLPCDG
enum State {
INVALID = 0;
START = 1;
TIMEOUT = 2;
}
State state = 11;
string nickname = 10;
uint32 uid = 5;
State state = 7;
string nickname = 2;
uint32 uid = 3;
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChatInfo.proto";
// 4.7.0
// CmdId: 7936
// ?
message PrivateChatNotify {
ChatInfo chat_info = 14;
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChatInfo.proto";
// 4.7.0
// CmdId: 23154
// ?
message PullPrivateChatRsp {
repeated ChatInfo chat_info = 1;
int32 retcode = 9;

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChatInfo.proto";
// 4.7.0
// CmdId: 523
// ?
message PullRecentChatRsp {
repeated ChatInfo chat_info = 9;
int32 retcode = 14;

View File

@ -2,11 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "MotionInfo.proto";
// 4.7.0
// CmdId: 6446
// CmdId: 28352, 6446X
// Obf: CNFNMBHLHEK
message SceneEntityMoveNotify {
MotionInfo motion_info = 3;
uint32 entity_id = 15;
uint32 reliable_seq = 12;
uint32 scene_time = 8;
MotionInfo motion_info = 1;
uint32 entity_id = 15; // OK
uint32 reliable_seq = 3;
uint32 scene_time = 4;
}