mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +00:00
d138b7b878
* Make case consistent * How modular can you go? Holy modular * Add comments * Initialize values
12 lines
804 B
C++
12 lines
804 B
C++
#include "MigrateActionsMessage.h"
|
|
|
|
MigrateActionsMessage::MigrateActionsMessage(AMFArrayValue* arguments) : BehaviorMessageBase(arguments) {
|
|
sourceActionContext = ActionContext(arguments, "srcStateID", "srcStripID");
|
|
srcActionIndex = GetActionIndexFromArgument(arguments, "srcActionIndex");
|
|
|
|
destinationActionContext = ActionContext(arguments, "dstStateID", "dstStripID");
|
|
dstActionIndex = GetActionIndexFromArgument(arguments, "dstActionIndex");
|
|
|
|
Game::logger->LogDebug("MigrateActionsMessage", "srcactionIndex %i dstactionIndex %i srcstripId %i dststripId %i srcstateId %i dststateId %i behaviorId %i", srcActionIndex, dstActionIndex, sourceActionContext.GetStripId(), destinationActionContext.GetStripId(), sourceActionContext.GetStateId(), destinationActionContext.GetStateId(), behaviorId);
|
|
}
|