Decompile fn_24225 (CSession::CollectCardItems)
Batch #1366 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_24225 CSession::CollectCardItems: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/Contents/ClientState.cpp
This commit is contained in:
parent
713acc513f
commit
64bd0730d5
5 changed files with 31 additions and 2 deletions
18
Source/Contents/ClientState.cpp
Normal file
18
Source/Contents/ClientState.cpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "Contents/ClientState.h"
|
||||
|
||||
#include "Client/Session.h"
|
||||
#include "UI/Window/UIWindow.h"
|
||||
#include "UI/Window/UIWindowMgr.h"
|
||||
|
||||
// OFFSET: 0x00E48B00
|
||||
// FUNCTION: fn_24225
|
||||
void CSession::CollectCardItems() {
|
||||
this->m_cardItems.clear();
|
||||
for (const ItemInfo& item : this->m_inventoryItems) {
|
||||
if (item.unknown_0000[0] == 6) {
|
||||
this->m_cardItems.push_back(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E48B70
|
||||
Loading…
Add table
Add a link
Reference in a new issue