mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2024-12-25 16:09:25 +03:00
59 lines
2.0 KiB
Protocol Buffer
59 lines
2.0 KiB
Protocol Buffer
// Proto has been converted from Sorapointa to Grasscutter format
|
|
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
|
|
// Copyright (C) 2022 Sorapointa 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";
|
|
|
|
import "AbilityIdentifier.proto";
|
|
import "AttackHitEffectResult.proto";
|
|
import "HitCollision.proto";
|
|
import "Vector.proto";
|
|
|
|
option java_package = "emu.grasscutter.net.proto";
|
|
|
|
message AttackResult {
|
|
bool is_resist_text = 1858;
|
|
uint32 create_count_sync_to_server = 1011;
|
|
uint32 amplify_reaction_type = 2005;
|
|
uint32 endure_break = 7;
|
|
uint32 element_type = 5;
|
|
float element_durability_attenuation = 425;
|
|
uint32 defense_id = 15;
|
|
uint32 attack_timestamp_ms = 1188;
|
|
uint32 bullet_fly_time_ms = 91;
|
|
bool is_crit = 13;
|
|
float element_amplify_rate = 900;
|
|
uint32 attack_count = 1564;
|
|
uint32 critical_rand = 1664;
|
|
uint32 hit_pos_type = 2;
|
|
string anim_event_id = 4;
|
|
AttackHitEffectResult hit_eff_result = 8;
|
|
float damage_shield = 1202;
|
|
float endure_delta = 430;
|
|
Vector resolved_dir = 1;
|
|
float damage = 6;
|
|
uint32 addhurt_reaction_type = 1887;
|
|
uint32 hashed_anim_event_id = 278;
|
|
bool use_gadget_damage_action = 1418;
|
|
int32 hit_retreat_angle_compat = 9;
|
|
AbilityIdentifier ability_identifier = 14;
|
|
uint32 attacker_id = 11;
|
|
bool mute_element_hurt = 1530;
|
|
uint32 target_type = 1366;
|
|
HitCollision hit_collision = 10;
|
|
uint32 gadget_damage_action_idx = 1110;
|
|
}
|