Add httpGet function

This commit is contained in:
Federico Cecchetto
2021-06-20 20:04:36 +02:00
parent e5083cd228
commit b1a29ded7d
11 changed files with 253 additions and 34 deletions

View File

@ -283,4 +283,14 @@ namespace scripting
return index;
}
unsigned int make_object()
{
unsigned int index = 0;
const auto variable = game::AllocVariable(&index);
variable->w.type = game::SCRIPT_STRUCT;
variable->u.f.prev = 0;
return index;
}
}