#include "MoveToInventoryMessage.h" MoveToInventoryMessage::MoveToInventoryMessage(AMFArrayValue* arguments) { behaviorID = GetBehaviorIDFromArgument(arguments); auto* behaviorIndexValue = arguments->FindValue("BehaviorIndex"); if (!behaviorIndexValue) return; behaviorIndex = static_cast(behaviorIndexValue->GetDoubleValue()); Game::logger->LogDebug("MoveToInventoryMessage", "bhId %i bhNdx %i", behaviorID, behaviorIndex); }