mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 23:17:28 +00:00
b432a3f5da
Clean up macros more tomorrow Cleanup and optimize CDActivities table Remove unused include Further work on CDActivityRewards Update MasterServer.cpp Further animations work Activities still needs work for a better PK. fix type All of these replacements worked Create internal interface for animations Allows for user to just call GetAnimationTIme or PlayAnimation rather than passing in arbitrary true false statements
11 lines
241 B
C++
11 lines
241 B
C++
#include "AgSalutingNpcs.h"
|
|
#include "RenderComponent.h"
|
|
|
|
void AgSalutingNpcs::OnEmoteReceived(Entity* self, const int32_t emote, Entity* target) {
|
|
if (emote != 356) {
|
|
return;
|
|
}
|
|
|
|
RenderComponent::PlayAnimation(self, u"salutePlayer");
|
|
}
|