Data Structures | |
class | ActionPushCarData |
class | ActionPushCarCB |
class | ActionPushCarDataReceiveData |
Functions | |
ActionPushCarData ActionPushObjectData | GetProgressWidgetMultiplier () |
ActionPushCarCB ActionPushObjectCB | ActionPushCar () |
override void | CreateActionComponent () |
override protected void | ApplyForce (ActionPushObjectData actionData) |
override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
override ActionData | CreateActionData () |
override void | OnStartServer (ActionData action_data) |
override void | OnEndServer (ActionData action_data) |
protected float | GetDirectionDot (Object target, EntityAI player) |
private CarScript | GetCar (ActionTarget target) |
DEPRECATED. | |
Variables | |
int | m_PushDirection = -1 |
float | m_HorizontalDirectionRandom = 1.0 |
float | m_VerticalDirectionRandom = 1.0 |
CarScript | m_Car |
protected float | PUSH_FORCE_IMPULSE_INCREMENT = 200.0 |
private ActionPushCarData | m_ActionDataPushCar |
override bool ActionCondition | ( | PlayerBase | player, |
ActionTarget | target, | ||
ItemBase | item | ||
) |
References ActionBase::IsInReach(), and UAMaxDistances::SMALL.
ActionPushCarCB ActionPushObjectCB ActionPushCar | ( | ) |
Referenced by ActionConstructor::RegisterActions(), and SetActions().
override protected void ApplyForce | ( | ActionPushObjectData | actionData | ) |
Referenced by ProgressActionComponent().
override void CreateActionComponent | ( | ) |
override ActionData CreateActionData | ( | ) |
private CarScript GetCar | ( | ActionTarget | target | ) |
DEPRECATED.
References ActionPushObject::GetPushObject().
References vector::Dot().
Referenced by OnStartServer().
ActionPushCarData ActionPushObjectData GetProgressWidgetMultiplier | ( | ) |
override void OnEndServer | ( | ActionData | action_data | ) |
override void OnStartServer | ( | ActionData | action_data | ) |
References GetDirectionDot(), and ActionPushCarData::m_PushDirection.
private ActionPushCarData m_ActionDataPushCar |
CarScript m_Car |
float m_HorizontalDirectionRandom = 1.0 |
int m_PushDirection = -1 |
float m_VerticalDirectionRandom = 1.0 |
protected float PUSH_FORCE_IMPULSE_INCREMENT = 200.0 |