Merge exp/component-audit-2: component audit rounds 2-4

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-10 16:49:08 -06:00
65 changed files with 2024 additions and 109 deletions

View File

@@ -1,4 +1,5 @@
#include "GMGreaterThanZeroCommands.h"
#include "ControllablePhysicsComponent.h"
#include "ChatServerLink.h"
#include "DashboardNotify.h"
#include "SlashCommandHandler.h"
@@ -206,6 +207,7 @@ namespace GMGreaterThanZeroCommands {
jetPackMode.target = entity->GetObjectID();
jetPackMode.bUse = false;
jetPackMode.Send(UNASSIGNED_SYSTEM_ADDRESS);
if (auto* const physics = entity->GetComponent<ControllablePhysicsComponent>()) physics->SetJetPackMode(jetPackMode.bUse, jetPackMode.effectID, jetPackMode.bBypassChecks);
character->SetIsFlying(false);
} else {
@@ -235,6 +237,7 @@ namespace GMGreaterThanZeroCommands {
jetPackMode.fMaxAirspeed = maxAirSpeed;
jetPackMode.fVertVel = verticalVelocity;
jetPackMode.Send(UNASSIGNED_SYSTEM_ADDRESS);
if (auto* const physics = entity->GetComponent<ControllablePhysicsComponent>()) physics->SetJetPackMode(jetPackMode.bUse, jetPackMode.effectID, jetPackMode.bBypassChecks);
character->SetIsFlying(true);
}