adapt: adapt GMLIB 0.7.3
This commit is contained in:
+1
-1
Submodule SDK-GMLIB updated: 1c2918e15d...fe6194d24e
@@ -8,11 +8,11 @@ void Export_Legacy_GMLib_ServerAPI() {
|
||||
GMLIB_Level::forceEnableAbilityCommand();
|
||||
});
|
||||
RemoteCall::exportAs("GMLib_ServerAPI", "addFloatingTextPacket", [](std::string text, std::pair<Vec3, int> pos, int dimid) -> int {
|
||||
auto ft = new FloatingText(text, pos.first, pos.second);
|
||||
return ft->mRuntimeId;
|
||||
auto ft = new GMLIB::Server::FloatingText(text, pos.first, pos.second);
|
||||
return ft->getRuntimeID();
|
||||
});
|
||||
RemoteCall::exportAs("GMLib_ServerAPI", "deleteFloatingTextPacket", [](int id) -> void {
|
||||
FloatingText::deleteFloatingText(id);
|
||||
GMLIB::Server::FloatingText::deleteFloatingText(id);
|
||||
});
|
||||
RemoteCall::exportAs("GMLib_ServerAPI", "setEnableAchievement", []() -> void {
|
||||
GMLIB_Level::setForceAchievementsEnabled();
|
||||
|
||||
Reference in New Issue
Block a user