Interface IAttackComponent
Assembly: cs.temp.dll.dll
Syntax
public interface IAttackComponent : IEntityTargetComponent, IEntityComponent, IMonoBehaviour, IEntityPostInitializable
Properties
AttackDistanceHandler
Declaration
IAttackDistanceHandler AttackDistanceHandler { get; }
Property Value
Type |
Description |
IAttackDistanceHandler |
|
BorderTargetFinderData
Declaration
TargetEntityFinderData BorderTargetFinderData { get; }
Property Value
CurrReloadValue
Declaration
float CurrReloadValue { get; }
Property Value
Type |
Description |
System.Single |
|
Damage
Declaration
AttackDamage Damage { get; }
Property Value
Type |
Description |
AttackDamage |
|
EngageOptions
Declaration
AttackEngagementOptions EngageOptions { get; }
Property Value
Type |
Description |
AttackEngagementOptions |
|
IsAttackMoveActive
Declaration
bool IsAttackMoveActive { get; }
Property Value
IsAttackMoveEnabled
Declaration
bool IsAttackMoveEnabled { get; }
Property Value
IsCooldownActive
Declaration
bool IsCooldownActive { get; }
Property Value
IsInTargetRange
Declaration
bool IsInTargetRange { get; }
Property Value
IsLocked
Declaration
Property Value
Launcher
Declaration
AttackLauncher Launcher { get; }
Property Value
Type |
Description |
AttackLauncher |
|
LineOfSight
Declaration
AttackLOS LineOfSight { get; }
Property Value
Type |
Description |
AttackLOS |
|
RequireTarget
Declaration
bool RequireTarget { get; }
Property Value
Revert
Declaration
Property Value
Target
Declaration
TargetData<IFactionEntity> Target { get; }
Property Value
Weapon
Declaration
AttackWeapon Weapon { get; }
Property Value
Type |
Description |
AttackWeapon |
|
Declaration
Transform WeaponTransform { get; }
Property Value
Type |
Description |
Transform |
|
Methods
CanSwitchAttack()
Declaration
ErrorMessage CanSwitchAttack()
Returns
LockAttackAction(Boolean, Boolean)
Declaration
ErrorMessage LockAttackAction(bool locked, bool playerCommand)
Parameters
Returns
Declaration
ErrorMessage SetNextLaunchLogActionLocal(IReadOnlyCollection<AttackObjectLaunchLogInput> nextLaunchLog, IFactionEntity target, bool playerCommand)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IReadOnlyCollection<AttackObjectLaunchLogInput> |
nextLaunchLog |
|
IFactionEntity |
target |
|
Boolean |
playerCommand |
|
Returns
SetSearchRangeCenterAction(IBorder, Boolean)
Declaration
ErrorMessage SetSearchRangeCenterAction(IBorder newSearchRangeCenter, bool playerCommand)
Parameters
Type |
Name |
Description |
IBorder |
newSearchRangeCenter |
|
Boolean |
playerCommand |
|
Returns
SwitchAttackAction(Boolean)
Declaration
ErrorMessage SwitchAttackAction(bool playerCommand)
Parameters
Type |
Name |
Description |
Boolean |
playerCommand |
|
Returns
TriggerAttack()
Declaration
Events
CooldownUpdated
Declaration
event CustomEventHandler<IAttackComponent, EventArgs> CooldownUpdated
Event Type
ReloadUpdated
Declaration
event CustomEventHandler<IAttackComponent, EventArgs> ReloadUpdated
Event Type