soulfire.task_pb2.AttackEntityTask¶
- class soulfire.task_pb2.AttackEntityTask(target: soulfire.domain_pb2.EntityReference | collections.abc.Mapping | None = ..., options: soulfire.bot_live_pb2.PathfindOptions | collections.abc.Mapping | None = ..., attack_range: float | None = ..., sprinting: bool = ..., maximum_attacks: int | None = ..., target_unavailable_timeout_seconds: int | None = ..., select_best_weapon: bool = ..., weapon: soulfire.inventory_pb2.ItemSelector | collections.abc.Mapping | None = ..., restore_selected_slot: bool = ..., use_offhand_shield: bool = ...)¶
Bases:
google.protobuf.message.MessageAbstract base class for protocol messages.
Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.
- TARGET_FIELD_NUMBER: ClassVar[int]¶
- OPTIONS_FIELD_NUMBER: ClassVar[int]¶
- ATTACK_RANGE_FIELD_NUMBER: ClassVar[int]¶
- SPRINTING_FIELD_NUMBER: ClassVar[int]¶
- MAXIMUM_ATTACKS_FIELD_NUMBER: ClassVar[int]¶
- TARGET_UNAVAILABLE_TIMEOUT_SECONDS_FIELD_NUMBER: ClassVar[int]¶
- SELECT_BEST_WEAPON_FIELD_NUMBER: ClassVar[int]¶
- WEAPON_FIELD_NUMBER: ClassVar[int]¶
- RESTORE_SELECTED_SLOT_FIELD_NUMBER: ClassVar[int]¶
- USE_OFFHAND_SHIELD_FIELD_NUMBER: ClassVar[int]¶
- attack_range: float¶
- sprinting: bool¶
- maximum_attacks: int¶
- select_best_weapon: bool¶
- restore_selected_slot: bool¶
- use_offhand_shield: bool¶