3#include "pixelbullet/scene/behavior_state_machine_types.h"
10enum class BehaviorActionParameterShape
15 TransformAnimationCommand,
16 ScopedBoolVariableSet,
17 ScopedBoolVariableToggle,
18 ScopedIntVariableValue,
23 TrackedObjectiveStage,
33enum class BehaviorTriggerParameterShape
39 TargetWithWaypointIndex,
43enum class BehaviorGuardSourceShape
50enum class BehaviorGuardComparisonValueKind
58 BehaviorTargetAddressing value = BehaviorTargetAddressing::Self;
59 std::string_view token =
"Self";
60 std::string_view label =
"Self";
65 BehaviorActionType value = BehaviorActionType::SetMeshVisible;
66 std::string_view token =
"SetMeshVisible";
67 std::string_view label =
"SetMeshVisible";
68 BehaviorActionParameterShape parameter_shape = BehaviorActionParameterShape::TargetBoolValue;
69 bool uses_target =
true;
74 BehaviorTriggerType value = BehaviorTriggerType::OnEnter;
75 std::string_view token =
"OnEnter";
76 std::string_view label =
"OnEnter";
77 BehaviorTriggerParameterShape parameter_shape = BehaviorTriggerParameterShape::None;
78 bool uses_target =
false;
83 BehaviorGuardSource value = BehaviorGuardSource::Variable;
84 std::string_view token =
"Variable";
85 std::string_view label =
"Variable";
86 BehaviorGuardSourceShape shape = BehaviorGuardSourceShape::Variable;
87 bool uses_scope =
true;
92 BehaviorGuardComparison value = BehaviorGuardComparison::BoolEquals;
93 std::string_view token =
"BoolEquals";
94 std::string_view label =
"BoolEquals";
95 BehaviorGuardComparisonValueKind value_kind = BehaviorGuardComparisonValueKind::Bool;
100 BehaviorVariableType value = BehaviorVariableType::Bool;
101 std::string_view token =
"Bool";
102 std::string_view label =
"Bool";
107 BehaviorVariableScope value = BehaviorVariableScope::Local;
108 std::string_view token =
"Local";
109 std::string_view label =
"Local";
114 TransformAnimationPlaybackCommand value = TransformAnimationPlaybackCommand::Play;
115 std::string_view token =
"Play";
116 std::string_view label =
"Play";
121 InputSignal value = InputSignal::Interact;
122 std::string_view token =
"Interact";
123 std::string_view label =
"Interact";
128 platform::scene_play::RuntimeUiAction value = platform::scene_play::RuntimeUiAction::TogglePause;
129 std::string_view token =
"TogglePause";
130 std::string_view label =
"TogglePause";
133const std::vector<BehaviorTargetAddressingDescriptor>& GetBehaviorTargetAddressingDescriptors() noexcept;
152 TransformAnimationPlaybackCommand value) noexcept;
156bool TryParseBehaviorTargetAddressingToken(std::string_view token, BehaviorTargetAddressing& value) noexcept;
157bool TryParseBehaviorActionTypeToken(std::string_view token, BehaviorActionType& value) noexcept;
158bool TryParseBehaviorTriggerTypeToken(std::string_view token, BehaviorTriggerType& value) noexcept;
159bool TryParseBehaviorGuardSourceToken(std::string_view token, BehaviorGuardSource& value) noexcept;
160bool TryParseBehaviorGuardComparisonToken(std::string_view token, BehaviorGuardComparison& value) noexcept;
161bool TryParseBehaviorVariableTypeToken(std::string_view token, BehaviorVariableType& value) noexcept;
162bool TryParseBehaviorVariableScopeToken(std::string_view token, BehaviorVariableScope& value) noexcept;
163bool TryParseTransformAnimationPlaybackCommandToken(std::string_view token,
164 TransformAnimationPlaybackCommand& value) noexcept;
165bool TryParseInputSignalToken(std::string_view token, InputSignal& value) noexcept;
166bool TryParseRuntimeUiActionToken(std::string_view token, platform::scene_play::RuntimeUiAction& value) noexcept;
168bool IsBoolBehaviorGuardComparison(BehaviorGuardComparison value) noexcept;
169bool IsIntBehaviorGuardComparison(BehaviorGuardComparison value) noexcept;
Definition behavior_metadata.h:64
Definition behavior_metadata.h:91
Definition behavior_metadata.h:82
Definition behavior_metadata.h:57
Definition behavior_metadata.h:73
Definition behavior_metadata.h:106
Definition behavior_metadata.h:99
Definition mission_types.h:66
Definition behavior_metadata.h:127