mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Match FUNC_1000D240/FUNC_1000D280; they return the dff/txd id of a staged entry
This commit is contained in:
@@ -140,6 +140,34 @@ char CDownloadList::FUNC_1000D190(DWORD dwCrc)
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
DWORD CDownloadList::FUNC_1000D240(DWORD dwCrc)
|
||||
{
|
||||
for(DWORD i = 0; i != m_dwCount; i++)
|
||||
{
|
||||
DOWNLOAD_ENTRY *pEntry = GetAt(i);
|
||||
if(pEntry && pEntry->dwCrc == dwCrc && pEntry->field_7 == 2)
|
||||
return pEntry->field_46;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
DWORD CDownloadList::FUNC_1000D280(DWORD dwCrc)
|
||||
{
|
||||
for(DWORD i = 0; i != m_dwCount; i++)
|
||||
{
|
||||
DOWNLOAD_ENTRY *pEntry = GetAt(i);
|
||||
if(pEntry && pEntry->dwCrc == dwCrc && pEntry->field_7 == 2)
|
||||
return pEntry->field_4A;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
// both model files have to be present in one of the two search dirs
|
||||
int CDownloadList::FUNC_1000C770(DWORD a1, DWORD dwCrc, DWORD a3, DWORD a4)
|
||||
{
|
||||
|
||||
@@ -73,6 +73,8 @@ public:
|
||||
bool FUNC_1000D110(DWORD dwCrc); // .text:1000D110
|
||||
bool FUNC_1000D150(DWORD dwCrc); // .text:1000D150
|
||||
char FUNC_1000D190(DWORD dwCrc); // .text:1000D190
|
||||
DWORD FUNC_1000D240(DWORD dwCrc); // .text:1000D240
|
||||
DWORD FUNC_1000D280(DWORD dwCrc); // .text:1000D280
|
||||
int FUNC_1000C770(DWORD a1, DWORD dwCrc, DWORD a3, DWORD a4); // .text:1000C770
|
||||
int FUNC_1000D320(DWORD dwCrc); // .text:1000D320
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user