mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-25 23:13:35 +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());
|
|
}
|