ScriptInvoker Class provide list of callbacks
usage:
More...
Private Member Functions | |
| proto void | Invoke (void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL) |
| invoke call on all inserted methods with given arguments | |
| proto bool | Insert (func fn, int flags=EScriptInvokerInsertFlags.IMMEDIATE) |
| insert method to list | |
| proto bool | Remove (func fn, int flags=EScriptInvokerRemoveFlags.ALL) |
| remove specific call from list | |
| proto int | Count (func fn) |
| count how many times this fn is actively present in the Invoker | |
| proto native void | Clear () |
| remove all calls from list | |
ScriptInvoker Class provide list of callbacks
usage:
|
private |
remove all calls from list
Referenced by SEffectManager::Cleanup(), ConstructionActionData::ConstructionActionData(), CraftingManager::CraftingManager(), ScriptInvokerTests::InvokeClear(), ScriptInvokerTests::InvokeReset(), and ~VONManagerImplementation().
insert method to list
Referenced by ConstructionActionData::ConstructionActionData(), CraftingManager::CraftingManager(), DynamicMusicPlayer(), EffectSound::Event_OnRegistered(), UIScriptedMenu::Init(), InitEffect(), Inventory(), ScriptInvokerTests::InvokeInsert(), NotificationUI::NotificationUI(), UIMenuPanel::OnShow(), ScriptedWidgetEventHandler::OptionsMenuSounds(), Play(), ServerBrowserTab::RefreshList(), AnalyticsManagerClient::RegisterEvents(), SetEnableEventFrame(), ClosableContainer::SetEntity(), Container::SetEntity(), EffectParticle::SetParticle(), UIScriptedMenu::SetServersLoadingTab(), HandsContainer::ShowAtt(), ScriptInvokerTests::TestClearRunning(), ScriptInvokerTests::TestFirstUnique(), ScriptInvokerTests::TestInsertRemoveUnique(), ScriptInvokerTests::TestInsertRunning(), ScriptInvokerTests::TestInsertUniqueImmediate(), ScriptInvokerTests::TestInvokeRunning(), ScriptInvokerTests::TestSecondUnique(), and EffectSound::ValidateSoundWave().
|
private |
invoke call on all inserted methods with given arguments
Referenced by NotificationSystem::AddNotification(), NotificationSystem::AddNotificationExtended(), CheckValue(), TriggerEvents::Enter(), SEffectManager::Event_OnFrameUpdate(), EffectSound::Event_OnSoundFadeInStopped(), EffectSound::Event_OnSoundFadeOutStarted(), EffectSound::Event_OnSoundWaveEnded(), EffectSound::Event_OnSoundWaveStarted(), ScriptInvokerTests::InvokeInvoke(), TriggerEvents::Leave(), ContentDLC::OnChange(), OnCommandDeathStart(), OnEvent(), OnlineServices::OnFriendsAsync(), Input::OnGamepadConnected(), Input::OnGamepadDisconnected(), Input::OnGamepadIdentification(), OnlineServices::OnGetServerModList(), OnlineServices::OnLoadServersAsync(), OnParticleEnd(), OnParticleParented(), OnParticleReset(), OnParticleStart(), OnParticleStop(), OnParticleUnParented(), OnlineServices::OnPermissionsAsync(), CGame::OnPostUpdate(), OptionsAccess::OnRevert(), CGame::OnUpdate(), DayZProfilesOptions::SetProfileOption(), DayZProfilesOptions::SetProfileOptionFloat(), DayZProfilesOptions::SetProfileOptionInt(), Stop(), ClientData::SyncEvent_OnEntityKilled(), ClientData::SyncEvent_OnPlayerIgnitedFireplace(), ClientData::SyncEvent_OnRecievedPlayerList(), ScriptInvokerTests::TestClearRunning(), ScriptInvokerTests::TestFirstUnique(), ScriptInvokerTests::TestInsertRemoveUnique(), ScriptInvokerTests::TestInsertRunning(), ScriptInvokerTests::TestInsertUniqueImmediate(), ScriptInvokerTests::TestInvokeRunning(), ScriptInvokerTests::TestSecondUnique(), NotificationSystem::Update(), Update(), and ActionVariantManager::UpdateVariants().
remove specific call from list
Referenced by HandsContainer::DestroyAtt(), EffectSound::Event_OnUnregistered(), EffectParticle::InitEffect(), EffectSound::InitEffect(), ServerBrowserTab::LoadingServersStop(), UIMenuPanel::OnHide(), SetEnableEventFrame(), EffectParticle::SetParticle(), UIScriptedMenu::SetServersLoadingTab(), ScriptInvokerTests::TestInsertRemoveUnique(), AnalyticsManagerClient::UnregisterEvents(), Container::~CargoContainer(), ConstructionActionData::~ConstructionActionData(), ClosableContainer::~ContainerWithCargoAndAttachments(), CraftingManager::~CraftingManager(), HandsContainer::~HandsContainer(), UIScriptedMenu::~InGameMenuXbox(), NotificationUI::~NotificationUI(), ScriptedWidgetEventHandler::~OptionsMenuSounds(), and UIScriptedMenu::~ServerBrowserMenuNew().