mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 09:25:06 +01:00
[Anime Game Version update] Support 2.7 (#1072)
* feature(2.7 version): support 2.7 version & upload new protos 1. Support GC in GI 2.7.0; 2. Upload new protos; 3. Fix some bugs cuz by new protos. BREAKING CHANGE: all * fix(database helper): fix player uid issues * fix(ability embryo): uint32 to fixed32 * fix(proto): map mark rename MAP_MARK_FROM_TYPE_NOE to MAP_MARK_FROM_TYPE_NONE * fix(game version): change game version to 2.7.0 * perf(proto): remove unused protos 1. Remove unused protos; 2. Temporarily commented out some of the proto fields. * fix(proto): uint32 to fixed32
This commit is contained in:
@@ -2,27 +2,21 @@ syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "AnimatorParameterValueInfoPair.proto";
|
||||
import "EntityAuthorityInfo.proto";
|
||||
import "EntityClientData.proto";
|
||||
import "EntityEnvironmentInfo.proto";
|
||||
import "FightPropPair.proto";
|
||||
import "MotionInfo.proto";
|
||||
import "PropPair.proto";
|
||||
import "ProtEntityType.proto";
|
||||
import "SceneAvatarInfo.proto";
|
||||
import "SceneGadgetInfo.proto";
|
||||
import "SceneMonsterInfo.proto";
|
||||
import "SceneNpcInfo.proto";
|
||||
import "SceneGadgetInfo.proto";
|
||||
import "ProtEntityType.proto";
|
||||
import "MotionInfo.proto";
|
||||
import "EntityClientData.proto";
|
||||
import "EntityAuthorityInfo.proto";
|
||||
import "PropPair.proto";
|
||||
import "FightPropPair.proto";
|
||||
import "AnimatorParameterValueInfoPair.proto";
|
||||
import "EntityEnvironmentInfo.proto";
|
||||
import "ServerBuff.proto";
|
||||
|
||||
message SceneEntityInfo {
|
||||
oneof Entity {
|
||||
SceneAvatarInfo avatar = 10;
|
||||
SceneMonsterInfo monster = 11;
|
||||
SceneNpcInfo npc = 12;
|
||||
SceneGadgetInfo gadget = 13;
|
||||
}
|
||||
ProtEntityType entity_type = 1;
|
||||
uint32 entity_id = 2;
|
||||
string name = 3;
|
||||
@@ -38,4 +32,10 @@ message SceneEntityInfo {
|
||||
EntityAuthorityInfo entity_authority_info = 21;
|
||||
repeated string tag_list = 22;
|
||||
repeated ServerBuff server_buff_list = 23;
|
||||
oneof entity {
|
||||
SceneAvatarInfo avatar = 10;
|
||||
SceneMonsterInfo monster = 11;
|
||||
SceneNpcInfo npc = 12;
|
||||
SceneGadgetInfo gadget = 13;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user