for coop mode but not work yet

This commit is contained in:
Yuuki 2024-08-21 13:31:37 +08:00
parent 08af9deb09
commit 84cbf3411a
27 changed files with 90 additions and 141 deletions

View File

@ -1,11 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntryHead.proto";
import "ForwardType.proto";
import "AbilityInvokeArgument.proto";
// 4.7.0
// ?
message AbilityInvokeEntry {
uint32 event_id = 1;
uint32 forward_peer = 2;

View File

@ -1,7 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Version: 4.7.0
// CmdId: 5279
// CmdId: 21073 or 2728?
// ?
message CanUseSkillNotify {
bool is_can_use_skill = 13;

View File

@ -1,10 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "EntityAbilityInvokeEntry.proto";
//obf: KNDIDFOJEJD
// CmdId: 22401
// 4.7.0
// CmdId: 4338
// obf: ?
message ClientAbilitiesInitFinishCombineNotify {
repeated EntityAbilityInvokeEntry entity_invoke_list = 2;
repeated EntityAbilityInvokeEntry entity_invoke_list = 1;
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
// 4.7.0
// CmdId: 4679
// ?
message ClientAbilityInitFinishNotify {
repeated AbilityInvokeEntry invokes = 11;
uint32 entity_id = 14;

View File

@ -1,10 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
//obf: PONAMDDLEBN
// 4.7.0
// obf: ?
message EntityAbilityInvokeEntry {
repeated AbilityInvokeEntry invokes = 10;
uint32 entity_id = 13;
repeated AbilityInvokeEntry invokes = 15;
uint32 entity_id = 13; // ok
}

View File

@ -6,16 +6,16 @@ import "ForwardType.proto";
// Obf: FOCOJPAIMIG
message EvtAvatarEnterFocusNotify {
Vector focus_forward = 4;
ForwardType forward_type = 12;
//bool CCKKABKJJGP = 12;
//bool MDMOIMDCOPF = 7;
ForwardType forward_type = 12;
uint32 entity_id = 3;
//bool MCNECDNCLCJ = 1;
//bool GMLEBIHPOKD = 5;
//bool OGOLKMLFFHE = 2;
//bool OEMKCENFMIM = 10;
//bool DBPHFOKBNCP = 9;
//bool PBHFFGHHPMA = 15;
//bool EGBLCMOLOMC = 8;
//bool NACMCGNGDLN = 6;
bool bt1 = 1;
bool bt2 = 2;
bool bt3 = 5;
bool bt4 = 6;
bool bt5 = 8;
bool bt6 = 9;
bool bt7 = 10;
bool bt8 = 13;
bool bt9 = 14;
bool bt110 = 15;
}

View File

@ -2,7 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "ForwardType.proto";
// CmdId: 24809 or 28844x or 24493(lock)
// 4.7.0
// CmdId: 24809,28844,24493(lock)
// Obf: DLDCLNJJBFG
message EvtAvatarExitFocusNotify {
Vector finish_forward = 12;

View File

@ -3,7 +3,7 @@ option java_package = "emu.grasscutter.net.proto";
import "ForwardType.proto";
import "Vector.proto";
// 4.7.0
// CmdId: 28844 sus
// CmdId: 28844
// Obf: OIFFIANHCNK
message EvtBulletDeactiveNotify {
ForwardType forward_type = 14;

View File

@ -5,12 +5,12 @@ import "HitColliderType.proto";
import "Vector.proto";
// 4.7.0
// CmdId: 5735
// Obf: ?
// Obf: ??
message EvtBulletHitNotify {
ForwardType forward_type = 1;
HitColliderType hit_collider_type = 7;
Vector hit_point = 5; // sus
Vector hit_normal = 11; // sus
Vector hit_point = 11; // sus
Vector hit_normal = 5; // sus
uint32 entity_id = 6;
int32 hit_box_index = 14;
uint32 forward_peer = 9;

View File

@ -2,7 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "ForwardType.proto";
// CmdId: 24809
// 4.7.0
// CmdId: 24493x,28844x,24809?,3013x?
// Obf: BKFCEHKJCCA
message EvtBulletMoveNotify {
uint32 entity_id = 10;

View File

@ -1,10 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "EntityRendererChangedInfo.proto";
import "ForwardType.proto";
// 4.7.0
// CmdId: 28488
// CmdId: 28488 (lock)
// CNPJNNLOPCL
message EvtEntityRenderersChangedNotify {
bool is_server_cache = 5;

View File

@ -1,8 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// Obf: PLMLBCAEFDB
// 4.7.0 ?
// Obf: ??
message HomeAvatarTalkFinishInfo {
uint32 avatar_id = 11;
repeated uint32 finish_talk_id_list = 13;

View File

@ -5,7 +5,7 @@ import "ProfilePicture.proto";
// Obf: PCAPDLBGOMG?PBFPMADNALI
message HomeGroupPlayerInfo {
string nickname = 14;
uint32 player_level = 5; // sus
uint32 player_level = 5;
ProfilePicture profile_picture = 1;
uint32 uid = 15; // ok
string psn_id = 11;

View File

@ -1,21 +1,20 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ShapeSphere.proto";
import "ShapeBox.proto";
// 4.7.0
//obf: IHJGCPGECHK
// obf: IHJGCPGECHK
// CmdId: 25032
message MassiveEntityElementOpBatchNotify {
//int32 NOMMJMBBCGJ = 3;
uint32 op_idx = 12;
uint32 user_id = 7;
uint32 attacker_id = 2; // TODO: or defense_id?
int32 entity_type = 3;
float attack_element_durability = 6;
//int32 DDPJBEMDEEM = 14;
oneof shape {
ShapeSphere shape_sphere = 4;
ShapeBox shape_box = 8;
}
uint32 op_idx = 12; // 1?
uint32 user_id = 7; // OK
uint32 attacker_id = 2; // OK
int32 entity_type = 3; // OK
float attack_element_durability = 6; // OK
int32 uk1 = 5;
int32 uk2 = 11;
oneof shape {
ShapeSphere shape_sphere = 4;
ShapeBox shape_box = 8;
}
}

View File

@ -8,10 +8,10 @@ import "ProfilePicture.proto";
message OnlinePlayerInfo {
uint32 uid = 1;
string nickname = 2;
uint32 cur_player_num_in_world = 3;
uint32 cur_player_num_in_world = 6;
uint32 avatar_id = 4;
MpSettingType mp_setting_type = 5;
uint32 player_level = 6;
uint32 player_level = 3;
uint32 world_level = 7;
string online_id = 8;
uint32 name_card_id = 9;

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";
import "PlatformInfo.proto";
// CmdId: 8048
// Obf: CIGDJCNIJNN
// 4.7.0
// CmdId: 28607
// Obf: PNNLCKEICNA
message PlatformChangeRouteNotify {
PlatformInfo platform = 5;
uint32 entity_id = 13;
PlatformInfo platform = 12;
uint32 entity_id = 7;
uint32 scene_time = 8;
}

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";
import "PlatformInfo.proto";
// CmdId: 7427
// Obf: PPPKGDJOODM
// 4.7.0
// CmdId: 25562?
// Obf: PDPFPMMKOMC
message PlatformStartRouteNotify {
uint32 entity_id = 14;
uint32 entity_id = 3;
uint32 scene_time = 4;
PlatformInfo platform = 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";
import "PlatformInfo.proto";
// CmdId: 27462
// Obf: CIMJKKNLBCO
// 4.7.0
// CmdId: 25803
// Obf: KLLCCCBJCDL?
message PlatformStopRouteNotify {
uint32 scene_time = 1;
PlatformInfo platform = 8;
uint32 entity_id = 5;
uint32 scene_time = 2;
PlatformInfo platform = 5;
uint32 entity_id = 12;
}

View File

@ -1,12 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "SceneEntityInfo.proto";
import "VisionType.proto";
// 4.7.0
// cmdid: 21463? or 24635a or 27183u
// EIIOKNPBJGC or
// cmdid: 24635?
// EIIOKNPBJGC
message SceneEntityAppearNotify {
repeated SceneEntityInfo entity_list = 13;
VisionType appear_type = 10;

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "VisionType.proto";
// 4.7.0
// CmdId: 7872
// ?
message SceneEntityDisappearNotify {
repeated uint32 entity_list = 6;
VisionType disappear_type = 5;

View File

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

View File

@ -3,10 +3,10 @@ option java_package = "emu.grasscutter.net.proto";
import "SceneEntityInfo.proto";
import "VisionType.proto";
// 4.7.0
// cmdid: 27183 or 21463
// AMPAJBECEIJ or EIIOKNPBJGC
// cmdid: 21463?
// ?
message SceneEntityUpdateNotify {
repeated SceneEntityInfo entity_list = 11;
VisionType appear_type = 9;
uint32 param = 13;
repeated SceneEntityInfo entity_list = 8;
VisionType appear_type = 11;
uint32 param = 4;
}

View File

@ -1,6 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 23746
// 4.7.0
message SceneForceLockNotify {
repeated uint32 force_id_list = 6;
repeated uint32 force_id_list = 8;
}

View File

@ -1,7 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 8454?,27604
message SceneForceUnlockNotify {
bool is_add = 3;
repeated uint32 force_id_list = 6;

View File

@ -1,13 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.7.0
//obf: IEIAEKDEKPH
// obf: IEIAEKDEKPH
message ShapeBox {
Vector center = 1;
Vector axis0 = 2;
Vector axis1 = 3;
Vector axis4 = 4;
Vector extents = 5;
Vector center = 1;
Vector extents = 5;
// sus
Vector axis0 = 2;
Vector axis1 = 3;
Vector axis4 = 4;
}

View File

@ -1,9 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
//obf: KKGNEFILAFP
// 4.7.0
// obf: ?
message ShapeSphere {
Vector center = 1;
float radius = 2;

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "UnionCmd.proto";
// 4.7.0
// CmdId: 6564
// ?
message UnionCmdNotify {
repeated UnionCmd cmd_list = 1;
}