Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
pluginmanager.c File Reference

Go to the source code of this file.

Data Structures

class  PluginManager

Functions

PluginBase GetPlugin (typename plugin_type)
PluginManager GetPluginManager ()
 Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_type).
PluginBase GetPluginSafe (typename plugin_type)
bool IsModuleExist (typename plugin_type)
bool IsPluginManagerExists ()
void PluginManagerDelete ()
void PluginManagerInit ()

Variables

class PluginManager g_Plugins

Function Documentation

◆ GetPlugin()

PluginBase GetPlugin ( typename plugin_type )

Definition at line 325 of file pluginmanager.c.

References DumpStack(), PluginManager::GetPluginByType(), GetPluginManager(), IsPluginManagerExists(), and PrintString.

Referenced by ActionContinuousBase::ActionContinuousBase(), MessageReceiverBase::MessageReceiverBase(), NotifierBase::NotifierBase(), ScriptConsoleEnfScriptTab::ScriptConsoleEnfScriptTab(), ScriptConsoleGeneralTab::ScriptConsoleGeneralTab(), ScriptConsoleItemsTab::ScriptConsoleItemsTab(), ScriptConsoleTabBase::ScriptConsoleTabBase(), UIScriptedMenu::~ScriptConsole(), ActionCondition(), ActionRepairShelter::ActionCondition(), ActionRepairTent::ActionCondition(), ActionRepairTentPart::ActionCondition(), ActionWorldCraft::ActionConditionContinue(), ActionBandageBase::ApplyBandage(), ApplyBandage(), ActionEatMeat::ApplyModifiers(), CleanWeapon::CanDo(), RecipeBase::CanDo(), RepairWithLeatherSewingKit::CanDo(), RepairWithSewingKit::CanDo(), RepairWithTireKit::CanDo(), InventoryItem::CanRepair(), ManBase::Consume(), ActionCollectBloodTargetLambda::CopyOldPropertiesToNew(), Debug(), MessageReceiverBase::DisplayElementBase(), CleanWeapon::Do(), RecipeBase::Do(), RepairWithLeatherSewingKit::Do(), RepairWithSewingKit::Do(), RepairWithTireKit::Do(), ManBase::EEHitBy(), InventoryItem::EEItemLocationChanged(), EmoteManager(), CAContinuousCraft::Execute(), FillContainerEnviro(), PluginBase::GetConfig(), ManBase::GetDebugActions(), GetInstance(), PluginBase::GetInstance(), PluginConfigHandler::GetInstance(), Attachments::GetRecipeCount(), Container::GetRecipeCount(), HandsContainer::GetRecipeCount(), ItemManager::GetRecipeCount(), PlayerContainer::GetRecipeCount(), InventoryItem::GetRecipesActions(), UIPopupScript::GetSceneEditor(), ActionWorldCraft::GetSoundCategory(), ActionWorldCraft::GetText(), MissionBase::HandleBody(), HandleForceSwapEntities(), HandleHandEvent(), HandleSwapEntities(), HandleTakeToDst(), HideCrosshairVisibility(), HudDebugWinCharModifiers(), HudDebugWinBase::HudDebugWinTemperature(), InventoryItem::IDToName(), BleedingCheckMdfr::Init(), ManBase::Init(), SceneObject::Init(), ScriptConsoleConfigTab::Init(), UIScriptedMenu::Init(), ManBase::InitEditor(), Inventory(), IsModuleExist(), InventoryItem::ItemBase(), ScriptConsoleItemsTab::ListItemRelatedActions(), BaseBuildingBase::LogAnimateFlag(), ModifierBase(), InventoryItem::NameToID(), InventoryItem::OnAction(), ActionWorldCraft::OnActionInfoUpdate(), VomitSymptom::OnAnimationFinish(), SymptomBase::OnAnimationStart(), ScriptConsoleGeneralTab::OnClick(), UIPopupScript::OnClick(), UIPropertyAttachment::OnClick(), MissionBase::OnClientRespawnEvent(), ActionConsume::OnEndServer(), ActionGiveBloodSelf::OnEndServer(), ActionGiveBloodTarget::OnEndServer(), ActionInteractLoopBase::OnEndServer(), ActionWashHandsItem::OnEndServer(), OnEndServer(), MissionBase::OnEvent(), ActionRepairPart::OnFinishProgressServer(), ActionRepairShelter::OnFinishProgressServer(), ActionRepairTent::OnFinishProgressServer(), ActionTestBloodTarget::OnFinishProgressServer(), ActionWashHandsItemContinuous::OnFinishProgressServer(), ActionWorldCraft::OnFinishProgressServer(), OnFinishProgressServer(), OnInit(), PluginBase::OnInit(), OnInventoryCheck(), PluginBase::OnKeyPress(), PluginBase::OnMouse(), UIPopupScript::OnOpen(), BaseBuildingBase::OnPartBuiltServer(), ManBase::OnRPC(), PluginBase::OnRPCHealthSet(), PluginBase::OnRPCPluginDayzCreatureDebug(), PluginBase::OnRPCSyncSceneObject(), ManBase::OnSelectPlayer(), DeveloperFreeCamera::OnSetFreeCameraEvent(), ActionTestBloodTarget::OnStartServer(), ManBase::OnUnconsciousUpdate(), PlantBase(), ItemBase::PlantSeed(), RefreshByLocalProfile(), RefreshCrosshairVisibility(), InventoryItem::Repair(), ActionRepairTent::RepairDamageTransfer(), ManBase::ResetPlayer(), PluginConfigHandler::SceneDataSave(), UIScriptedMenu::SceneEditorMenu(), UIScriptedMenu::ScriptConsole(), Dispatcher::SendLogAtClient(), SendRepairToClientDst(), PluginBase::SendRPCHealth(), SetAgents(), RecipeBase::SetBloodyHands(), HudDebugWinBase::SetContentValues(), PluginBase::SetDeveloperItemClientEx(), ManBase::SetHairLevelToHide(), CAContinuousCraft::Setup(), ActionWorldCraft::SetupAction(), HudDebugWinBase::SetUpdate(), SetUpdate(), HudDebugWinBase::SetupValues(), HudDebugWinBase::SetValues(), HudDebugWinHorticulture::Show(), Show(), MissionBase::ShowHairDebugValues(), ScriptConsoleItemsTab::SpawnPreset(), ManBase::SpreadAgentsEx(), TeleportCheck(), Transfer(), AreaExposureMdfr::TransmitAgents(), UIPopupScript::UIPopupScriptEditorSettings(), UIPopupScript::UIPopupScriptInitScript(), UIPopupScript::UIPopupScriptPositionManager(), HudDebugWinBase::Update(), MissionBase::UpdatePlayersStats(), UIPopupScript::UpdateSceneList(), HudDebugWinBase::UpdateValues(), ValidateHandEvent(), ValidateSwap(), and ValidateSyncMove().

◆ GetPluginManager()

PluginManager GetPluginManager ( )

Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_type).

Parameters
module_tpyetypename class type of plugin
Returns
PluginBase
PluginRepairing plugin = GetPluginManager().GetPluginByType(PluginRepairing);
PluginBase GetPluginByType(typename plugin_type)
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...
PluginManager GetPluginManager()
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...

Definition at line 283 of file pluginmanager.c.

References g_Plugins.

Referenced by DayZInfected::CommandHandlerDebug(), DayZPlayer::CommandHandlerDebug(), GetPlugin(), and GetPluginSafe().

◆ GetPluginSafe()

◆ IsModuleExist()

bool IsModuleExist ( typename plugin_type )

Definition at line 361 of file pluginmanager.c.

References GetPlugin(), and IsPluginManagerExists().

Referenced by UIScriptedMenu::~SceneEditorMenu().

◆ IsPluginManagerExists()

◆ PluginManagerDelete()

void PluginManagerDelete ( )

Definition at line 306 of file pluginmanager.c.

References g_Plugins.

Referenced by MissionBaseWorld::~MissionBase().

◆ PluginManagerInit()

void PluginManagerInit ( )

Definition at line 296 of file pluginmanager.c.

References g_Plugins.

Referenced by MissionBaseWorld::MissionBase().

Variable Documentation

◆ g_Plugins