mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
d138b7b878
* Make case consistent * How modular can you go? Holy modular * Add comments * Initialize values
10 lines
332 B
C++
10 lines
332 B
C++
#include "RenameMessage.h"
|
|
|
|
RenameMessage::RenameMessage(AMFArrayValue* arguments) : BehaviorMessageBase(arguments) {
|
|
auto* nameAmf = arguments->FindValue<AMFStringValue>("Name");
|
|
if (!nameAmf) return;
|
|
|
|
name = nameAmf->GetStringValue();
|
|
Game::logger->LogDebug("RenameMessage", "behaviorId %i n %s", behaviorId, name.c_str());
|
|
}
|