make it compile

This commit is contained in:
Aaron Kimbre
2023-11-16 00:32:50 -06:00
parent 2a34cff008
commit 09bd4e9089
6 changed files with 9 additions and 13 deletions

View File

@@ -1,14 +1,12 @@
#include "FvGuildCreate.h"
#include "GameMessages.h"
#include "Amf3.h"
// Server script for Guild Master NPC in FV area.
// This NPC will react to a user interaction and display
// the guild creation screen.
void FvGuildCreate::OnUse(Entity* self, Entity* user) {
AMFStringValue* value = new AMFStringValue();
value->SetStringValue("ToggleGuildCreate");
AMFArrayValue args;
GameMessages::SendUIMessageServerToSingleClient(user, user->GetSystemAddress(), value->GetStringValue(), &args);
delete value;
AMFArrayValue args;
GameMessages::SendUIMessageServerToSingleClient(user, user->GetSystemAddress(), "ToggleGuildCreate", args);
}