Grasscutter/proto/AvatarInfo.proto
Yazawazi 91f8381fb1 [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
2022-05-30 20:06:25 -07:00

41 lines
1.2 KiB
Protocol Buffer
Executable File

syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarEquipAffixInfo.proto";
import "AvatarExcelInfo.proto";
import "AvatarExpeditionState.proto";
import "AvatarFetterInfo.proto";
import "AvatarSkillInfo.proto";
import "PropValue.proto";
import "TrialAvatarInfo.proto";
message AvatarInfo {
uint32 avatar_id = 1;
uint64 guid = 2;
map<uint32, PropValue> prop_map = 3;
uint32 life_state = 4;
repeated uint64 equip_guid_list = 5;
repeated uint32 talent_id_list = 6;
map<uint32, float> fight_prop_map = 7;
TrialAvatarInfo trial_avatar_info = 9;
map<uint32, AvatarSkillInfo> skill_map = 10;
uint32 skill_depot_id = 11;
AvatarFetterInfo fetter_info = 12;
uint32 core_proud_skill_level = 13;
repeated uint32 inherent_proud_skill_list = 14;
map<uint32, uint32> skill_level_map = 15;
AvatarExpeditionState expedition_state = 16;
map<uint32, uint32> proud_skill_extra_level_map = 17;
bool is_focus = 18;
uint32 avatar_type = 19;
repeated uint32 team_resonance_list = 20;
uint32 wearing_flycloak_id = 21;
repeated AvatarEquipAffixInfo equip_affix_list = 22;
uint32 born_time = 23;
repeated uint32 pending_promote_reward_list = 24;
uint32 costume_id = 25;
AvatarExcelInfo excel_info = 26;
uint32 anim_hash = 27;
}