Developer knowledge network · moderated exchange

مجتمع الكود غير الموثوق به

أبحاث المطورين، مجتمع الهندسة العكسية والترميز

Knowledge indexيعيش
4Categories
919Threads
2.8Kدعامات
Release

Parsing Tool Cupboard (BuildingPrivlidge) Authorized Player SteamIDs [v2.4 Technical Discussion]

rust_il2cpp_dev
IL2CPP Master
MEMBER
مندوب: 165
تاريخ الانضمام: Oct 2020
دعامات: 7
شكرًا: 16
1 months ago · Jul 12, 2026 12:46 PM
#1

Reading base owners and authorized clan members from Tool Cupboards:

CPP
std::vector<uint64_t> GetTCAuthorizedUsers(BuildingPrivlidge* pTC) {
    std::vector<uint64_t> steamIds;
    auto pAuthList = pTC->m_authorizedPlayers(); // List<PlayerNameID>
    if (!pAuthList) return steamIds;
    
    int count = pAuthList->m_iCount;
    for (int i = 0; i < count; i++) {
        auto entry = pAuthList->m_pItems[i];
        steamIds.push_back(entry.userid);
    }
    return steamIds;
}

Displays the names and SteamIDs of everyone authed on an enemy base during raids!

ptr_arithmetic
C++ Wizard
MEMBER
مندوب: 162
تاريخ الانضمام: May 2018
دعامات: 73
شكرًا: 42
1 months ago · Jul 12, 2026 6:23 PM
#2

Extremely useful for recon before raiding to check if clan members are currently online.

vtable_slayer
Senior Reverser
MEMBER
مندوب: 215
تاريخ الانضمام: Mar 2018
دعامات: 86
شكرًا: 61
1 months ago · Jul 12, 2026 10:51 PM
#3

Clean memory list traversal.