2023-02-14 02:55:44 +00:00
|
|
|
#include "SplitStripMessage.h"
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
SplitStripMessage::SplitStripMessage(AMFArrayValue* arguments) : BehaviorMessageBase(arguments) {
|
|
|
|
sourceActionContext = ActionContext(arguments, "srcStateID", "srcStripID");
|
|
|
|
srcActionIndex = GetActionIndexFromArgument(arguments, "srcActionIndex");
|
2023-02-14 02:55:44 +00:00
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
destinationActionContext = ActionContext(arguments, "dstStateID", "dstStripID");
|
|
|
|
destinationPosition = StripUiPosition(arguments, "dstStripUI");
|
2023-02-14 02:55:44 +00:00
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
Game::logger->LogDebug("SplitStripMessage", "behaviorId %i xPosition %f yPosition %f sourceStrip %i destinationStrip %i sourceState %i destinationState %i srcActindex %i", behaviorId, destinationPosition.GetX(), destinationPosition.GetY(), sourceActionContext.GetStripId(), destinationActionContext.GetStripId(), sourceActionContext.GetStateId(), destinationActionContext.GetStateId(), srcActionIndex);
|
2023-02-14 02:55:44 +00:00
|
|
|
}
|