-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCTaskComplexUseSequence.h
26 lines (20 loc) · 1.04 KB
/
CTaskComplexUseSequence.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
From gta-reversed-modern
*/
#pragma once
#include "CTaskComplex.h"
class CTaskComplexUseSequence : public CTaskComplex {
protected:
CTaskComplexUseSequence(plugin::dummy_func_t a) : CTaskComplex(a) {}
public:
int32_t m_nSequenceIndex; // Used in CTaskSequences::ms_taskSequence global array
int32_t m_nCurrentTaskIndex; // Used in CTaskComplexSequence::m_aTasks array
int32_t m_nEndTaskIndex; // Sequence will stop performing tasks when current index is equal to endTaskIndex
int32_t m_nSequenceRepeatedCount; // m_nSequenceRepeatedCount simply tells us how many times the sequence has been repeated.
// If CTaskComplexSequence::m_bRepeatSequence is true, this can be greater than 1,
// otherwise it's set to 1 when the sequence is done executing tasks.
public:
//static constexpr auto Type = TASK_COMPLEX_USE_SEQUENCE;
explicit CTaskComplexUseSequence(int32_t sequenceIndex);
};
VALIDATE_SIZE(CTaskComplexUseSequence, 0x1C);