#include "UpdateStripUiMessage.h" UpdateStripUiMessage::UpdateStripUiMessage(AMFArrayValue* arguments) { auto* uiArray = arguments->FindValue("ui"); if (!uiArray) return; auto* xPositionValue = uiArray->FindValue("x"); auto* yPositionValue = uiArray->FindValue("y"); if (!xPositionValue || !yPositionValue) return; yPosition = yPositionValue->GetDoubleValue(); xPosition = xPositionValue->GetDoubleValue(); stripID = GetStripIDFromArgument(arguments); stateID = GetBehaviorStateFromArgument(arguments); behaviorID = GetBehaviorIDFromArgument(arguments); Game::logger->LogDebug("UpdateStripUIMessage", "x %f y %f stpId %i sttId %i bhId %i", xPosition, yPosition, stripID, stateID, behaviorID); }