soulfire.task_pb2.AttackNearestTask

class soulfire.task_pb2.AttackNearestTask(selector: soulfire.world_pb2.EntitySelector | collections.abc.Mapping | None = ..., radius: float | None = ..., options: soulfire.bot_live_pb2.PathfindOptions | collections.abc.Mapping | None = ..., attack_range: float | None = ..., sprinting: bool = ..., maximum_attacks: int | None = ..., maximum_targets: int | None = ..., no_target_timeout_seconds: int | None = ..., complete_when_no_target: bool = ..., select_best_weapon: bool = ..., weapon: soulfire.inventory_pb2.ItemSelector | collections.abc.Mapping | None = ..., restore_selected_slot: bool = ...)

Bases: google.protobuf.message.Message

Abstract 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.

SELECTOR_FIELD_NUMBER: ClassVar[int]
RADIUS_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]
MAXIMUM_TARGETS_FIELD_NUMBER: ClassVar[int]
NO_TARGET_TIMEOUT_SECONDS_FIELD_NUMBER: ClassVar[int]
COMPLETE_WHEN_NO_TARGET_FIELD_NUMBER: ClassVar[int]
SELECT_BEST_WEAPON_FIELD_NUMBER: ClassVar[int]
WEAPON_FIELD_NUMBER: ClassVar[int]
RESTORE_SELECTED_SLOT_FIELD_NUMBER: ClassVar[int]
selector: soulfire.world_pb2.EntitySelector
radius: float
options: soulfire.bot_live_pb2.PathfindOptions
attack_range: float
sprinting: bool
maximum_attacks: int
maximum_targets: int
no_target_timeout_seconds: int
complete_when_no_target: bool
select_best_weapon: bool
weapon: soulfire.inventory_pb2.ItemSelector
restore_selected_slot: bool