mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 15:37:20 +00:00
12 lines
845 B
C++
12 lines
845 B
C++
#include "MigrateActionsMessage.h"
|
|
|
|
MigrateActionsMessage::MigrateActionsMessage(const AMFArrayValue& arguments)
|
|
: BehaviorMessageBase{ arguments }
|
|
, m_SrcActionIndex{ GetActionIndexFromArgument(arguments, "srcActionIndex") }
|
|
, m_DstActionIndex{ GetActionIndexFromArgument(arguments, "dstActionIndex") }
|
|
, m_SourceActionContext{ arguments, "srcStateID", "srcStripID" }
|
|
, m_DestinationActionContext{ arguments, "dstStateID", "dstStripID" } {
|
|
|
|
Log::Debug("srcactionIndex {:d} dstactionIndex {:d} srcstripId {:d} dststripId {:d} srcstateId {:d} dststateId {:d} behaviorId {:d}", m_SrcActionIndex, m_DstActionIndex, m_SourceActionContext.GetStripId(), m_DestinationActionContext.GetStripId(), GeneralUtils::ToUnderlying(m_SourceActionContext.GetStateId()), GeneralUtils::ToUnderlying(m_DestinationActionContext.GetStateId()), m_BehaviorId);
|
|
}
|