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();
|
GMLIB_Level::forceEnableAbilityCommand();
|
||||||
});
|
});
|
||||||
RemoteCall::exportAs("GMLib_ServerAPI", "addFloatingTextPacket", [](std::string text, std::pair<Vec3, int> pos, int dimid) -> int {
|
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);
|
auto ft = new GMLIB::Server::FloatingText(text, pos.first, pos.second);
|
||||||
return ft->mRuntimeId;
|
return ft->getRuntimeID();
|
||||||
});
|
});
|
||||||
RemoteCall::exportAs("GMLib_ServerAPI", "deleteFloatingTextPacket", [](int id) -> void {
|
RemoteCall::exportAs("GMLib_ServerAPI", "deleteFloatingTextPacket", [](int id) -> void {
|
||||||
FloatingText::deleteFloatingText(id);
|
GMLIB::Server::FloatingText::deleteFloatingText(id);
|
||||||
});
|
});
|
||||||
RemoteCall::exportAs("GMLib_ServerAPI", "setEnableAchievement", []() -> void {
|
RemoteCall::exportAs("GMLib_ServerAPI", "setEnableAchievement", []() -> void {
|
||||||
GMLIB_Level::setForceAchievementsEnabled();
|
GMLIB_Level::setForceAchievementsEnabled();
|
||||||
|
|||||||
Reference in New Issue
Block a user