2022-08-06 03:01:59 +00:00
|
|
|
#pragma once
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
#include "dCommonVars.h"
|
|
|
|
#include "NiPoint3.h"
|
|
|
|
|
|
|
|
struct BehaviorBranchContext
|
|
|
|
{
|
|
|
|
LWOOBJID target = LWOOBJID_EMPTY;
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
float duration = 0;
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
NiPoint3 referencePosition = {};
|
|
|
|
|
|
|
|
bool isProjectile = false;
|
|
|
|
|
|
|
|
uint32_t start = 0;
|
|
|
|
|
2022-12-21 03:00:52 +00:00
|
|
|
bool isSync = false;
|
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
BehaviorBranchContext();
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
BehaviorBranchContext(LWOOBJID target, float duration = 0, const NiPoint3& referencePosition = NiPoint3(0, 0, 0));
|
|
|
|
};
|