mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:00:54 +01:00
12 lines
368 B
C++
12 lines
368 B
C++
#include "GameServer.h"
|
|
|
|
namespace Script
|
|
{
|
|
void CreateQuestServiceBindings(sol::state_view aState)
|
|
{
|
|
auto questType =
|
|
aState.new_usertype<QuestService>("QuestService", sol::meta_function::construct, sol::no_constructor);
|
|
|
|
questType["get"] = []() -> QuestService& { return GameServer::Get()->GetWorld().GetQuestService(); };
|
|
}
|
|
} // namespace Script
|