mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 14:07:20 +00:00
192948a87f
- TEMP: Adds guilds gating. - FV Guild Master script added which will toggle the guild UI.
15 lines
507 B
C++
15 lines
507 B
C++
#include "FvGuildCreate.h"
|
|
#include "GameMessages.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;
|
|
}
|