◆ CAContinuousRepeatFishing()
◆ Execute()
13 {
15 {
17 }
18
20 {
23
24
26 {
28 {
31 {
34 }
36 {
39 }
40 }
41 }
42 }
43 else
44 {
47
49 }
50
52 if (
fad.m_FishingResult != -1)
53 {
55 }
56 else
57 {
59 }
60 }
void OnCompletePogress(ActionData action_data)
Definition CAContinuousBase.c:8
float m_SignalStartTime
Definition CAContinuousRepeatFishing.c:4
bool m_SignalTriggered
Definition CAContinuousRepeatFishing.c:3
void OnSignalStart(ActionData action_data)
Definition CAContinuousRepeatFishing.c:82
void OnSignalEnd(ActionData action_data)
Definition CAContinuousRepeatFishing.c:93
float m_SignalDuration
Definition CAContinuousRepeatFishing.c:5
float m_TimeToComplete
Definition CAContinuousRepeat.c:5
float m_TotalTimeElpased
Definition CAContinuousRepeat.c:4
float m_TimeElpased
Definition CAContinuousRepeat.c:3
const int UA_FINISHED
Definition constants.c:443
const int UA_ERROR
Definition constants.c:462
const int UA_PROCESSING
Definition constants.c:441
Перекрестные ссылки m_SignalDuration, m_SignalStartTime, m_SignalTriggered, CAContinuousRepeat::m_TimeElpased, CAContinuousRepeat::m_TimeToComplete, CAContinuousRepeat::m_TotalTimeElpased, CAContinuousBase::OnCompletePogress(), OnSignalEnd(), OnSignalStart(), UA_ERROR, UA_FINISHED и UA_PROCESSING.
◆ OnSignalEnd()
94 {
97 {
101 }
102 }
Definition ActionFishingNew.c:158
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo().
Используется в Execute().
◆ OnSignalStart()
◆ SetNewSignalData()
63 {
65 {
68 }
69 else
70 {
74
79 }
80 }
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Definition Debug.c:136
Definition ActionConstants.c:174
const float SIGNAL_DEADZONE_START_DURATION
Definition ActionConstants.c:182
const float SIGNAL_DURATION_MAX_BASE
Definition ActionConstants.c:179
const float SIGNAL_DURATION_MIN_BASE
Definition ActionConstants.c:178
const float SIGNAL_DEADZONE_END_DURATION
Definition ActionConstants.c:183
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float Min(float x, float y)
Returns smaller of two given values.
Перекрестные ссылки Math::Clamp(), Debug::Log(), m_SignalDuration, m_SignalStartTime, CAContinuousRepeat::m_TimeToComplete, Math::Min(), UAFishingConstants::SIGNAL_DEADZONE_END_DURATION, UAFishingConstants::SIGNAL_DEADZONE_START_DURATION, UAFishingConstants::SIGNAL_DURATION_MAX_BASE и UAFishingConstants::SIGNAL_DURATION_MIN_BASE.
◆ m_SignalDuration
◆ m_SignalStartTime
◆ m_SignalTriggered
Объявления и описания членов класса находятся в файле: