mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2025-07-31 17:44:11 +03:00
add miss proto (most home stuff)
This commit is contained in:
24
proto/HomeKickPlayerReq.proto
Normal file
24
proto/HomeKickPlayerReq.proto
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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: 24840
|
||||
// Obf: HFBBPKBDIHH
|
||||
message HomeKickPlayerReq {
|
||||
bool is_kick_all = 14;
|
||||
uint32 target_uid = 7;
|
||||
}
|
25
proto/HomeKickPlayerRsp.proto
Normal file
25
proto/HomeKickPlayerRsp.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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: 1719
|
||||
// Obf: PEDCPFBACNG
|
||||
message HomeKickPlayerRsp {
|
||||
bool is_kick_all = 10;
|
||||
uint32 target_uid = 9;
|
||||
int32 retcode = 8;
|
||||
}
|
23
proto/HomeSaveArrangementNoChangeReq.proto
Normal file
23
proto/HomeSaveArrangementNoChangeReq.proto
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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: 2521
|
||||
// Obf: GPHNPONJLKO
|
||||
message HomeSaveArrangementNoChangeReq {
|
||||
uint32 scene_id = 1;
|
||||
}
|
24
proto/HomeSaveArrangementNoChangeRsp.proto
Normal file
24
proto/HomeSaveArrangementNoChangeRsp.proto
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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: 20696
|
||||
// Obf: BMFLMFIECOG
|
||||
message HomeSaveArrangementNoChangeRsp {
|
||||
int32 retcode = 2;
|
||||
uint32 scene_id = 1;
|
||||
}
|
31
proto/OtherPlayerEnterHomeNotify.proto
Normal file
31
proto/OtherPlayerEnterHomeNotify.proto
Normal file
@@ -0,0 +1,31 @@
|
||||
// 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: 25817
|
||||
// Obf: MGNDPKIPKGO
|
||||
message OtherPlayerEnterHomeNotify {
|
||||
// Obf: CMPPPMNICGG
|
||||
enum Reason {
|
||||
INVALID = 0;
|
||||
ENTER = 1;
|
||||
LEAVE = 2;
|
||||
}
|
||||
|
||||
string nickname = 13;
|
||||
Reason reason = 14;
|
||||
}
|
25
proto/PlayerApplyEnterHomeNotify.proto
Normal file
25
proto/PlayerApplyEnterHomeNotify.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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: 26047
|
||||
// Obf: HKFIJOMFLOA
|
||||
message PlayerApplyEnterHomeNotify {
|
||||
OnlinePlayerInfo src_player_info = 2;
|
||||
uint32 src_app_id = 12;
|
||||
}
|
39
proto/PlayerApplyEnterHomeResultNotify.proto
Normal file
39
proto/PlayerApplyEnterHomeResultNotify.proto
Normal file
@@ -0,0 +1,39 @@
|
||||
// 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: 26518
|
||||
// Obf: BDMPJIIHGNK
|
||||
message PlayerApplyEnterHomeResultNotify {
|
||||
// Obf: HCLKFKDJEMO
|
||||
enum Reason {
|
||||
PLAYER_JUDGE = 0;
|
||||
PLAYER_ENTER_OPTION_REFUSE = 1;
|
||||
PLAYER_ENTER_OPTION_DIRECT = 2;
|
||||
SYSTEM_JUDGE = 3;
|
||||
HOST_IN_MATCH = 4;
|
||||
PS_PLAYER_NOT_ACCEPT_OTHERS = 5;
|
||||
OPEN_STATE_NOT_OPEN = 6;
|
||||
HOST_IN_EDIT_MODE = 7;
|
||||
PRIOR_CHECK = 8;
|
||||
}
|
||||
|
||||
bool is_agreed = 1;
|
||||
string target_nickname = 7;
|
||||
uint32 target_uid = 11;
|
||||
Reason reason = 4;
|
||||
}
|
24
proto/PlayerApplyEnterHomeResultReq.proto
Normal file
24
proto/PlayerApplyEnterHomeResultReq.proto
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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: 20101
|
||||
// Obf: CMPHGAMCBGN
|
||||
message PlayerApplyEnterHomeResultReq {
|
||||
bool is_agreed = 13;
|
||||
uint32 apply_uid = 1;
|
||||
}
|
26
proto/PlayerApplyEnterHomeResultRsp.proto
Normal file
26
proto/PlayerApplyEnterHomeResultRsp.proto
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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: 5358
|
||||
// Obf: MCGEJCOHFFM
|
||||
message PlayerApplyEnterHomeResultRsp {
|
||||
bool is_agreed = 3;
|
||||
int32 retcode = 6;
|
||||
uint32 param = 8;
|
||||
uint32 apply_uid = 1;
|
||||
}
|
32
proto/PlayerPreEnterMpNotify.proto
Normal file
32
proto/PlayerPreEnterMpNotify.proto
Normal file
@@ -0,0 +1,32 @@
|
||||
// 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
|
||||
message PlayerPreEnterMpNotify {
|
||||
// Obf: CIAEAJLPCDG
|
||||
enum State {
|
||||
INVALID = 0;
|
||||
START = 1;
|
||||
TIMEOUT = 2;
|
||||
}
|
||||
|
||||
State state = 11;
|
||||
string nickname = 10;
|
||||
uint32 uid = 5;
|
||||
}
|
27
proto/ShapeBox.proto
Normal file
27
proto/ShapeBox.proto
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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 "Vector.proto";
|
||||
// Obf: BFCLKLDHKOM
|
||||
message ShapeBox {
|
||||
Vector center = 1;
|
||||
Vector axis0 = 2;
|
||||
Vector axis1 = 3;
|
||||
Vector axis2 = 4;
|
||||
Vector extents = 5;
|
||||
}
|
24
proto/ShapeSphere.proto
Normal file
24
proto/ShapeSphere.proto
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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 "Vector.proto";
|
||||
// Obf: KJNACIDANGB
|
||||
message ShapeSphere {
|
||||
Vector center = 1;
|
||||
float radius = 2;
|
||||
}
|
Reference in New Issue
Block a user