mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 10:18:21 +00:00
72c93c8913
Further implements the ControlBehavior processing and adds preparations for cheat detection
17 lines
762 B
C++
17 lines
762 B
C++
#include "RearrangeStripMessage.h"
|
|
|
|
RearrangeStripMessage::RearrangeStripMessage(AMFArrayValue* arguments) {
|
|
auto* srcActionIndexValue = arguments->FindValue<AMFDoubleValue>("srcActionIndex");
|
|
srcActionIndex = static_cast<uint32_t>(srcActionIndexValue->GetDoubleValue());
|
|
|
|
stripID = GetStripIDFromArgument(arguments);
|
|
|
|
behaviorID = GetBehaviorIDFromArgument(arguments);
|
|
|
|
auto* dstActionIndexValue = arguments->FindValue<AMFDoubleValue>("dstActionIndex");
|
|
dstActionIndex = static_cast<uint32_t>(dstActionIndexValue->GetDoubleValue());
|
|
|
|
stateID = GetBehaviorStateFromArgument(arguments);
|
|
Game::logger->LogDebug("RearrangeStripMessage", "srcAcnNdx %i dstAcnNdx %i stpId %i bhId %i sttId %i", srcActionIndex, dstActionIndex, stripID, behaviorID, stateID);
|
|
}
|