mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-27 09:46:21 +00:00
91f8381fb1
* 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
37 lines
1.4 KiB
Protocol Buffer
Executable File
37 lines
1.4 KiB
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
option java_package = "emu.grasscutter.net.proto";
|
|
|
|
enum ChangeHpReason {
|
|
CHANGE_HP_REASON_CHANGE_HP_NONE = 0;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_AVATAR = 1;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_MONSTER = 2;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_GEAR = 3;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_ENVIR = 4;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_FALL = 5;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_DRAWN = 6;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_ABYSS = 7;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_ABILITY = 8;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_SUMMON = 9;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_SCRIPT = 10;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_GM = 11;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_KILL_SELF = 12;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_CLIMATE_COLD = 13;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_STORM_LIGHTNING = 14;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_KILL_SERVER_GADGET = 15;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_REPLACE = 16;
|
|
CHANGE_HP_REASON_CHANGE_HP_SUB_PLAYER_LEAVE = 17;
|
|
CHANGE_HP_REASON_CIKCDBOJGDK = 18;
|
|
CHANGE_HP_REASON_HEKLBLFBJJK = 19;
|
|
CHANGE_HP_REASON_CHANGE_HP_BY_LUA = 51;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_ABILITY = 101;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_ITEM = 102;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_REVIVE = 103;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_UPGRADE = 104;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_STATUE = 105;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_BACKGROUND = 106;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_GM = 107;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_TRIAL_AVATAR_ACTIVITY = 108;
|
|
CHANGE_HP_REASON_CHANGE_HP_ADD_ROUGUELIKE_SPRING = 109;
|
|
}
|