GC-Proto/proto/AttackResult.proto

23 lines
548 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2024-06-23 18:33:14 +03:00
2023-01-28 18:50:00 +03:00
option java_package = "emu.grasscutter.net.proto";
2024-05-22 14:51:09 +03:00
import "AbilityIdentifier.proto";
import "AttackHitEffectResult.proto";
2024-06-23 18:33:14 +03:00
import "Vector.proto";
import "HitCollision.proto";
2024-04-22 15:15:37 +03:00
2024-06-23 18:33:14 +03:00
// 4.7.0
2022-11-06 15:30:21 +03:00
message AttackResult {
2024-06-23 18:33:14 +03:00
AbilityIdentifier ability_identifier = 12;
AttackHitEffectResult hit_eff_result = 3;
Vector resolved_dir = 10;
string anim_event_id = 1;
HitCollision hit_collision = 15;
int32 hit_retreat_angle_compat = 9;
uint32 attacker_id = 5;
uint32 defense_id = 6;
uint32 element_type = 11;
float damage = 8;
2022-11-06 15:30:21 +03:00
}