2023-02-14 02:55:44 +00:00
|
|
|
#include "MoveToInventoryMessage.h"
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
MoveToInventoryMessage::MoveToInventoryMessage(AMFArrayValue* arguments) : BehaviorMessageBase(arguments) {
|
2023-02-14 02:55:44 +00:00
|
|
|
auto* behaviorIndexValue = arguments->FindValue<AMFDoubleValue>("BehaviorIndex");
|
|
|
|
if (!behaviorIndexValue) return;
|
|
|
|
|
|
|
|
behaviorIndex = static_cast<uint32_t>(behaviorIndexValue->GetDoubleValue());
|
2023-02-16 17:30:33 +00:00
|
|
|
Game::logger->LogDebug("MoveToInventoryMessage", "behaviorId %i behaviorIndex %i", behaviorId, behaviorIndex);
|
2023-02-14 02:55:44 +00:00
|
|
|
}
|