Implement MxOmni::DoesEntityExist and related (#225)

* Implement MxOmni::DoesEntityExist and related

* Rename function for consistency
This commit is contained in:
Christian Semmler
2023-10-21 17:23:55 -04:00
committed by GitHub
parent 6931a817a6
commit 5dfb132025
5 changed files with 27 additions and 11 deletions

View File

@@ -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;
}