Add proto cutscene

This commit is contained in:
Akbar Yahya 2023-02-05 01:33:31 +08:00
parent 31a2ca13bc
commit a7444ce335
5 changed files with 36 additions and 2 deletions

View File

@ -1,2 +1,6 @@
# Grasscutter Protos # Anime Game Protos
It's a mix of sources, which I'll tell you about later once this is working.... This repository contains the [ProtoBuf](https://github.com/google/protobuf) `.proto` files for Anime Game API.<br/>
## Credits
- [NickTheHuy (Hiro)](https://github.com/NickTheHuy/3.4_proto) (3.4) <br/>
- [Sorapointa Team](https://github.com/Sorapointa/Sorapointa-Protos) (<3.3)

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "CutSceneExtraParam.proto";
message CutSceneBeginNotify {
bool isWaitOthers = 3;
repeated CutSceneExtraParam extraParamList = 14;
uint32 cutsceneId = 2;
}

View File

@ -0,0 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message CutSceneEndNotify {
uint32 cutsceneId = 15;
int32 retcode = 9;
}

View File

@ -0,0 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message CutSceneExtraParam {
repeated double detailParamList = 3;
}

View File

@ -0,0 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message CutSceneFinishNotify {
uint32 cutsceneId = 14;
}