DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл PluginManager.c

См. исходные тексты.

Структуры данных

class  PluginManager
 

Функции

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

Переменные

class PluginManager g_Plugins
 

Функции

◆ GetPlugin()

317{
319
320 if ( IsPluginManagerExists() )
321 {
323
324 if ( plugin == null )
325 {
326 #ifdef DIAG_DEVELOPER
327 if ( IsPluginManagerExists() )
328 {
329 PrintString("Module " + plugin_type.ToString() + " is not Registred in PluginManager.c!");
330 DumpStack();
331 }
332 #endif
333 }
334 }
335
336 return plugin;
337}
PluginManager GetPluginManager()
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...
Definition PluginManager.c:274
bool IsPluginManagerExists()
Definition PluginManager.c:306
Definition EntityAI.c:95
Definition PluginBase.c:2
PluginBase GetPluginByType(typename plugin_type)
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...
Definition PluginManager.c:157
proto void DumpStack()
Prints current call stack (stack trace)
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.
Definition EnScript.c:345

Перекрестные ссылки DumpStack(), PluginManager::GetPluginByType(), GetPluginManager(), IsPluginManagerExists() и PrintString().

Используется в ActionCondition(), ActionRepairShelter::ActionCondition(), ActionRepairTent::ActionCondition(), ActionRepairTentPart::ActionCondition(), ActionContinuousBase::ActionContinuousBase(), ActionBandageBase::ApplyBandage(), ApplyBandage(), ActionEatMeat::ApplyModifiers(), RecipeBase::CanDo(), InventoryItem::CanRepair(), ManBase::Consume(), ActionCollectBloodTargetLambda::CopyOldPropertiesToNew(), Debug(), MessageReceiverBase::DisplayElementBase(), RecipeBase::Do(), PrepareAnimal::Do(), ManBase::EEHitBy(), EmoteManager(), FillContainerEnviro(), PluginBase::GetConfig(), ManBase::GetDebugActions(), PluginBase::GetInstance(), PluginConfigHandler::GetInstance(), GetInstance(), Attachments::GetRecipeCount(), HandsContainer::GetRecipeCount(), PlayerContainer::GetRecipeCount(), ItemManager::GetRecipeCount(), Container::GetRecipeCount(), InventoryItem::GetRecipesActions(), UIPopupScript::GetSceneEditor(), ActionWorldCraft::GetSoundCategory(), ActionWorldCraft::GetText(), HideCrosshairVisibility(), HudDebugWinCharModifiers(), HudDebugWinBase::HudDebugWinTemperature(), InventoryItem::IDToName(), BleedingCheckMdfr::Init(), ManBase::Init(), UIScriptedMenu::Init(), ScriptConsoleConfigTab::Init(), SceneObject::Init(), ManBase::InitEditor(), Inventory(), IsModuleExist(), InventoryItem::ItemBase(), ScriptConsoleGeneralTab::LateInit(), ScriptConsoleItemsTab::ListItemRelatedActions(), BaseBuildingBase::LogAnimateFlag(), MessageReceiverBase::MessageReceiverBase(), ModifierBase(), InventoryItem::NameToID(), NotifierBase::NotifierBase(), InventoryItem::OnAction(), ActionWorldCraft::OnActionInfoUpdate(), VomitSymptom::OnAnimationFinish(), SymptomBase::OnAnimationStart(), ScriptConsoleGeneralTab::OnChange(), UIPopupScript::OnClick(), UIPropertyAttachment::OnClick(), ScriptConsoleGeneralTab::OnClick(), ActionConsume::OnEndServer(), ActionGiveBloodSelf::OnEndServer(), ActionGiveBloodTarget::OnEndServer(), ActionInteractLoopBase::OnEndServer(), OnEndServer(), ActionWashHandsItem::OnEndServer(), MissionBase::OnEvent(), OnFinishProgressServer(), ActionRepairPart::OnFinishProgressServer(), ActionRepairShelter::OnFinishProgressServer(), ActionRepairTent::OnFinishProgressServer(), ActionWashHandsItemContinuous::OnFinishProgressServer(), ActionWorldCraft::OnFinishProgressServer(), ActionTestBloodTarget::OnFinishProgressServer(), OnInit(), PluginBase::OnInit(), PluginBase::OnKeyPress(), PluginBase::OnMouse(), UIPopupScript::OnOpen(), BaseBuildingBase::OnPartBuiltServer(), ManBase::OnRPC(), PluginBase::OnRPCHealthSet(), PluginBase::OnRPCPluginDayzCreatureDebug(), PluginBase::OnRPCSyncSceneObject(), ManBase::OnSelectPlayer(), DeveloperFreeCamera::OnSetFreeCameraEvent(), ActionTestBloodTarget::OnStartServer(), ItemBase::PlantBase(), ItemBase::PlantSeed(), RefreshByLocalProfile(), RefreshCrosshairVisibility(), InventoryItem::Repair(), ActionRepairTent::RepairDamageTransfer(), ManBase::ResetPlayer(), PluginConfigHandler::SceneDataSave(), UIScriptedMenu::SceneEditorMenu(), UIScriptedMenu::ScriptConsole(), ScriptConsoleEnfScriptTab::ScriptConsoleEnfScriptTab(), ScriptConsoleGeneralTab::ScriptConsoleGeneralTab(), ScriptConsoleItemsTab::ScriptConsoleItemsTab(), ScriptConsoleTabBase::ScriptConsoleTabBase(), Dispatcher::SendLogAtClient(), PluginBase::SendRPCHealth(), SetAgents(), HudDebugWinBase::SetContentValues(), PluginBase::SetDeveloperItemClientEx(), ManBase::SetHairLevelToHide(), CAContinuousCraft::Setup(), ActionWorldCraft::SetupAction(), SetUpdate(), HudDebugWinBase::SetUpdate(), HudDebugWinBase::SetupValues(), HudDebugWinBase::SetValues(), 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(), UIScriptedMenu::~ScriptConsole() и ScriptConsoleGeneralTab::~ScriptConsoleGeneralTab().

◆ GetPluginManager()

PluginManager GetPluginManager ( )

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

Аргументы
module_tpyetypename class type of plugin
Возвращает
PluginBase
275{
276 /*
277 if ( g_Plugins == NULL )
278 {
279 PluginManagerInit();
280 }
281 */
282
283 return g_Plugins;
284}
class PluginManager g_Plugins

Перекрестные ссылки g_Plugins.

Используется в DayZInfected::CommandHandlerDebug(), DayZPlayer::CommandHandlerDebug() и GetPlugin().

◆ IsModuleExist()

bool IsModuleExist ( typename plugin_type )
340{
341 if ( IsPluginManagerExists() )
342 {
343 return ( GetPlugin(plugin_type) != NULL );
344 }
345
346 return false;
347}
PluginBase GetPlugin(typename plugin_type)
Definition PluginManager.c:316

Перекрестные ссылки GetPlugin() и IsPluginManagerExists().

Используется в UIScriptedMenu::~SceneEditorMenu().

◆ IsPluginManagerExists()

bool IsPluginManagerExists ( )
307{
308 if ( g_Plugins != null )
309 {
310 return true;
311 }
312
313 return false;
314}

Перекрестные ссылки g_Plugins.

Используется в GetPlugin(), PlayerAgentPool::GrowAgents(), IsModuleExist(), MessageReceiverBase::Unsubscribe() и MessageReceiverBase::UnsubscribeAll().

◆ PluginManagerDelete()

void PluginManagerDelete ( )
298{
299 if ( g_Plugins )
300 {
301 delete g_Plugins;
302 g_Plugins = NULL;
303 }
304}

Перекрестные ссылки g_Plugins.

Используется в MissionBaseWorld::~MissionBase().

◆ PluginManagerInit()

void PluginManagerInit ( )
288{
289 if (g_Plugins == NULL)
290 {
292 g_Plugins.Init();
293 g_Plugins.PluginsInit();
294 }
295}
Definition PluginManager.c:2

Перекрестные ссылки g_Plugins.

Используется в MissionBaseWorld::MissionBase().

Переменные

◆ g_Plugins