mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement MxOmni::DoesEntityExist and related (#225)
* Implement MxOmni::DoesEntityExist and related * Rename function for consistency
This commit is contained in:

committed by
GitHub

parent
6931a817a6
commit
5dfb132025
@@ -61,22 +61,27 @@ MxResult MxOmni::Start(MxDSAction* p_dsAction)
|
||||
MxResult result = FAILURE;
|
||||
if(p_dsAction->GetAtomId().GetInternal() != NULL && p_dsAction->GetObjectId() != -1 && m_streamer != NULL)
|
||||
{
|
||||
result = m_streamer->Unknown100b99b0(p_dsAction);
|
||||
result = m_streamer->FUN_100b99b0(p_dsAction);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b00c0 STUB
|
||||
void MxOmni::DeleteObject(MxDSAction &ds)
|
||||
void MxOmni::DeleteObject(MxDSAction &p_dsAction)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b09a0 STUB
|
||||
MxBool MxOmni::DoesEntityExist(MxDSAction &ds)
|
||||
// OFFSET: LEGO1 0x100b09a0
|
||||
MxBool MxOmni::DoesEntityExist(MxDSAction &p_dsAction)
|
||||
{
|
||||
// TODO
|
||||
if (m_streamer->FUN_100b9b30(p_dsAction)) {
|
||||
MxNotificationPtrList *queue = m_notificationManager->GetQueue();
|
||||
|
||||
if (!queue || queue->size() == 0)
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user