2023-02-14 02:55:44 +00:00
|
|
|
#include "SplitStripMessage.h"
|
|
|
|
|
2024-02-27 07:29:51 +00:00
|
|
|
SplitStripMessage::SplitStripMessage(const AMFArrayValue& arguments)
|
2024-02-18 06:38:26 +00:00
|
|
|
: BehaviorMessageBase{ arguments }
|
|
|
|
, m_SrcActionIndex{ GetActionIndexFromArgument(arguments, "srcActionIndex") }
|
|
|
|
, m_SourceActionContext{ arguments, "srcStateID", "srcStripID" }
|
|
|
|
, m_DestinationActionContext{ arguments, "dstStateID", "dstStripID" }
|
|
|
|
, m_DestinationPosition{ arguments, "dstStripUI" } {
|
2023-02-14 02:55:44 +00:00
|
|
|
|
2024-03-08 21:44:02 +00:00
|
|
|
Log::Debug("behaviorId {:d} xPosition {:f} yPosition {:f} sourceStrip {:d} destinationStrip {:d} sourceState {:d} destinationState {:d} srcActindex {:d}", m_BehaviorId, m_DestinationPosition.GetX(), m_DestinationPosition.GetY(), m_SourceActionContext.GetStripId(), m_DestinationActionContext.GetStripId(), GeneralUtils::ToUnderlying(m_SourceActionContext.GetStateId()), GeneralUtils::ToUnderlying(m_DestinationActionContext.GetStateId()), m_SrcActionIndex);
|
2023-02-14 02:55:44 +00:00
|
|
|
}
|