mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-12 18:38:10 +00:00
memcpy and template deduction guide
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
void BankInteractServer::OnUse(Entity* self, Entity* user) {
|
||||
AMFArrayValue args;
|
||||
|
||||
args.Insert<std::string>("state", "bank");
|
||||
args.Insert("state", "bank");
|
||||
|
||||
GameMessages::SendUIMessageServerToSingleClient(user, user->GetSystemAddress(), "pushGameState", args);
|
||||
}
|
||||
|
@@ -6,7 +6,7 @@
|
||||
void MailBoxServer::OnUse(Entity* self, Entity* user) {
|
||||
AMFArrayValue args;
|
||||
|
||||
args.Insert<std::string>("state", "Mail");
|
||||
args.Insert("state", "Mail");
|
||||
|
||||
GameMessages::SendUIMessageServerToSingleClient(user, user->GetSystemAddress(), "pushGameState", args);
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ void StoryBoxInteractServer::OnUse(Entity* self, Entity* user) {
|
||||
{
|
||||
AMFArrayValue args;
|
||||
|
||||
args.Insert<std::string>("state", "Story");
|
||||
args.Insert("state", "Story");
|
||||
|
||||
GameMessages::SendUIMessageServerToSingleClient(user, user->GetSystemAddress(), "pushGameState", args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user