mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 23:47:21 +00:00
10 lines
312 B
C++
10 lines
312 B
C++
#include "RenameMessage.h"
|
|
|
|
RenameMessage::RenameMessage(const AMFArrayValue& arguments) : BehaviorMessageBase{ arguments } {
|
|
const auto* const nameAmf = arguments.Get<std::string>("Name");
|
|
if (!nameAmf) return;
|
|
|
|
m_Name = nameAmf->GetValue();
|
|
LOG_DEBUG("behaviorId %i n %s", m_BehaviorId, m_Name.c_str());
|
|
}
|