DarkflameServer/dGame/dBehaviors/BehaviorBranchContext.h

24 lines
406 B
C
Raw Permalink Normal View History

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