Small refactor
This commit is contained in:
parent
cc3bde3bba
commit
35d3fa04fe
@ -189,7 +189,7 @@ namespace party
|
||||
//const auto xuid = strtoull(info.get("xuid").data(), nullptr, 16);
|
||||
|
||||
scheduler::once([=]
|
||||
{
|
||||
{
|
||||
const auto usermap_id = workshop::get_usermap_publisher_id(mapname);
|
||||
|
||||
if (workshop::check_valid_usermap_id(mapname, usermap_id) &&
|
||||
|
@ -85,9 +85,9 @@ namespace workshop
|
||||
item.publisherIdInteger = std::stoul(item.publisherId);
|
||||
}
|
||||
|
||||
void load_usermap_content_stub(void* usermapsCount, int type)
|
||||
void load_usermap_content_stub(void* usermaps_count, int type)
|
||||
{
|
||||
utils::hook::invoke<void>(game::select(0x1420D6430, 0x1404E2360), usermapsCount, type);
|
||||
utils::hook::invoke<void>(game::select(0x1420D6430, 0x1404E2360), usermaps_count, type);
|
||||
|
||||
for (unsigned int i = 0; i < *game::usermapsCount; ++i)
|
||||
{
|
||||
@ -103,9 +103,9 @@ namespace workshop
|
||||
}
|
||||
}
|
||||
|
||||
void load_mod_content_stub(void* modsCount, int type)
|
||||
void load_mod_content_stub(void* mods_count, int type)
|
||||
{
|
||||
utils::hook::invoke<void>(game::select(0x1420D6430, 0x1404E2360), modsCount, type);
|
||||
utils::hook::invoke<void>(game::select(0x1420D6430, 0x1404E2360), mods_count, type);
|
||||
|
||||
for (unsigned int i = 0; i < *game::modsCount; ++i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user