Developer knowledge network · moderated exchange

UnreliableCode 커뮤니티

개발자 연구, 리버스 엔지니어링 및 코딩 커뮤니티

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개월 전 · 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개월 전 · 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개월 전 · Jul 12, 2026 10:51 PM
#3

Clean memory list traversal.