soulfire.task_pb2.RangedAttackTask

class soulfire.task_pb2.RangedAttackTask(target: soulfire.domain_pb2.EntityReference | collections.abc.Mapping | None = ..., options: soulfire.bot_live_pb2.PathfindOptions | collections.abc.Mapping | None = ..., minimum_range: float | None = ..., maximum_range: float | None = ..., maximum_shots: int | None = ..., target_unavailable_timeout_seconds: int | None = ..., weapon: soulfire.inventory_pb2.ItemSelector | collections.abc.Mapping | None = ..., bow_draw_ticks: int | None = ..., lead_target: bool = ..., compensate_gravity: bool = ..., strafe: bool = ..., 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.

TARGET_FIELD_NUMBER: ClassVar[int]
OPTIONS_FIELD_NUMBER: ClassVar[int]
MINIMUM_RANGE_FIELD_NUMBER: ClassVar[int]
MAXIMUM_RANGE_FIELD_NUMBER: ClassVar[int]
MAXIMUM_SHOTS_FIELD_NUMBER: ClassVar[int]
TARGET_UNAVAILABLE_TIMEOUT_SECONDS_FIELD_NUMBER: ClassVar[int]
WEAPON_FIELD_NUMBER: ClassVar[int]
BOW_DRAW_TICKS_FIELD_NUMBER: ClassVar[int]
LEAD_TARGET_FIELD_NUMBER: ClassVar[int]
COMPENSATE_GRAVITY_FIELD_NUMBER: ClassVar[int]
STRAFE_FIELD_NUMBER: ClassVar[int]
RESTORE_SELECTED_SLOT_FIELD_NUMBER: ClassVar[int]
target: soulfire.domain_pb2.EntityReference
options: soulfire.bot_live_pb2.PathfindOptions
minimum_range: float
maximum_range: float
maximum_shots: int
target_unavailable_timeout_seconds: int
weapon: soulfire.inventory_pb2.ItemSelector
bow_draw_ticks: int
lead_target: bool
compensate_gravity: bool
strafe: bool
restore_selected_slot: bool