1
0
mirror of https://github.com/Mauler125/r5sdk.git synced 2025-02-09 19:15:03 +01:00

Server: add CAI_ScheduleBits and apply to class members

This commit is contained in:
Kawe Mazidjatari 2024-07-29 10:28:51 +02:00
parent 816589d872
commit 824536f7b4
2 changed files with 6 additions and 2 deletions

@ -140,8 +140,8 @@ private:
char m_Behaviors[32];
bool m_bCalledBehaviorSelectSchedule;
char gap_5a31[3];
char m_Conditions[12];
char m_CustomInterruptConditions[12];
CAI_ScheduleBits m_Conditions;
CAI_ScheduleBits m_CustomInterruptConditions;
bool m_bForceConditionsGather;
bool m_bConditionsGathered;
bool m_bInterruptableByScript;

@ -9,6 +9,10 @@
#ifdef _WIN32
#pragma once
#endif
#include "mathlib/bitvec.h"
#define MAX_CONDITIONS 12*8
typedef CBitVec<MAX_CONDITIONS> CAI_ScheduleBits;
class CAI_Schedule
{