mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
MxStreamListMxDSAction helper functions (#1100)
* MxStreamListMxDSAction Find/FindAndErase * Beta addrs for other stream lists
This commit is contained in:
@@ -24,7 +24,11 @@ public:
|
||||
// SIZE 0x0c
|
||||
class MxStreamListMxDSAction : public MxStreamList<MxDSAction*> {
|
||||
public:
|
||||
MxDSAction* Find(MxDSAction* p_action, MxBool p_delete);
|
||||
// FUNCTION: BETA10 0x10150e30
|
||||
MxDSAction* FindAndErase(MxDSAction* p_action) { return FindInternal(p_action, TRUE); }
|
||||
|
||||
// FUNCTION: BETA10 0x10150fc0
|
||||
MxDSAction* Find(MxDSAction* p_action) { return FindInternal(p_action, FALSE); }
|
||||
|
||||
// There chance this list actually holds MxDSStreamingListAction
|
||||
// instead of MxDSAction. Until then, we use this helper.
|
||||
@@ -38,6 +42,9 @@ public:
|
||||
pop_front();
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
private:
|
||||
MxDSAction* FindInternal(MxDSAction* p_action, MxBool p_delete);
|
||||
};
|
||||
|
||||
// SIZE 0x0c
|
||||
@@ -53,4 +60,10 @@ public:
|
||||
MxDSSubscriber* Find(MxDSObject* p_object);
|
||||
};
|
||||
|
||||
// TEMPLATE: BETA10 0x10150950
|
||||
// MxStreamList<MxDSAction *>::PopFront
|
||||
|
||||
// TEMPLATE: BETA10 0x10150a70
|
||||
// MxStreamList<MxDSSubscriber *>::PopFront
|
||||
|
||||
#endif // MXSTREAMLIST_H
|
||||
|
Reference in New Issue
Block a user