// 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 "ShapeBox.proto";
import "ShapeSphere.proto";

option java_package = "emu.grasscutter.net.proto";

message MassiveEntityElementOpBatchNotify {
  // enum CmdId {
  //   option allow_alias = true;
  //   NONE = 0;
  //   CMD_ID = 363;
  //   ENET_CHANNEL_ID = 0;
  //   ENET_IS_RELIABLE = 1;
  //   IS_ALLOW_CLIENT = 1;
  // }

  uint32 attacker_id = 8;
  float attack_element_durability = 4;
  int32 Unk3300_PNANGDNNFCH = 2;
  int32 entity_type = 10;
  int32 Unk3300_KNLDJPEMCKP = 7;
  uint32 op_idx = 11;
  uint32 user_id = 1;
  oneof check_shape {
    ShapeSphere shape_sphere = 14;
    ShapeBox shape_box = 13;
  }
}
