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

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

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

class  SoftSkillsManager
 

Функции

void SoftSkillManagerDebug (SoftSkillsManager softskill_manager)
 
void ~SoftSkillManagerDebug ()
 
SoftSkillsManager GetActiveSoftSkillManager ()
 
void OnUpdate ()
 

Переменные

class SoftSkillsManager m_SoftSkillManager
 
ref Widget m_PanelSoftSkills
 
TextWidget SpecialtyTotal
 
TextWidget SpecialtyChange
 
TextWidget ComponentBonusBefore
 
TextWidget ComponentBonusAfter
 
TextWidget GeneralBonusBefore
 
TextWidget GeneralBonusAfter
 
TextWidget CoolDown
 
TextWidget IsCoolDown
 

Функции

◆ GetActiveSoftSkillManager()

SoftSkillsManager GetActiveSoftSkillManager ( )
608 {
609 return m_SoftSkillManager;
610 }
class SoftSkillsManager m_SoftSkillManager

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

Используется в OnUpdate().

◆ SoftSkillManagerDebug()

void SoftSkillManagerDebug ( SoftSkillsManager softskill_manager)
571 {
573 m_PanelSoftSkills = GetGame().GetWorkspace().CreateWidgets("gui/layouts/debug/day_z_hud_debug_softskills.layout");
574
575 GetGame().GetUpdateQueue(CALL_CATEGORY_SYSTEM).Insert(this.OnUpdate);
576
577 Class.CastTo(SpecialtyTotal, m_PanelSoftSkills.FindWidget("SpecialtyTotal"));
578 Class.CastTo(SpecialtyChange, m_PanelSoftSkills.FindWidget("SpecialtyChange"));
579 Class.CastTo(ComponentBonusBefore, m_PanelSoftSkills.FindWidget("ComponentBonusBefore"));
580 Class.CastTo(ComponentBonusAfter, m_PanelSoftSkills.FindWidget("ComponentBonusAfter"));
581 Class.CastTo(GeneralBonusBefore, m_PanelSoftSkills.FindWidget("GeneralBonusBefore"));
582 Class.CastTo(GeneralBonusAfter, m_PanelSoftSkills.FindWidget("GeneralBonusAfter"));
583 Class.CastTo(CoolDown, m_PanelSoftSkills.FindWidget("CoolDown"));
584 Class.CastTo(IsCoolDown, m_PanelSoftSkills.FindWidget("IsCoolDown"));
585
586 m_PanelSoftSkills.Show( true );
587 SpecialtyTotal.Show( true );
588 SpecialtyChange.Show( true );
589 ComponentBonusBefore.Show( true );
590 ComponentBonusAfter.Show( true );
591 GeneralBonusBefore.Show( true );
592 GeneralBonusAfter.Show( true );
593 CoolDown.Show( true );
594 IsCoolDown.Show( true );
595 }
TextWidget SpecialtyTotal
Definition SoftSkillsManager.c:561
TextWidget SpecialtyChange
Definition SoftSkillsManager.c:562
TextWidget GeneralBonusAfter
Definition SoftSkillsManager.c:566
TextWidget CoolDown
Definition SoftSkillsManager.c:567
TextWidget ComponentBonusAfter
Definition SoftSkillsManager.c:564
TextWidget IsCoolDown
Definition SoftSkillsManager.c:568
TextWidget GeneralBonusBefore
Definition SoftSkillsManager.c:565
TextWidget ComponentBonusBefore
Definition SoftSkillsManager.c:563
ref Widget m_PanelSoftSkills
Definition SoftSkillsManager.c:560
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition EntityAI.c:95
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
void OnUpdate()
Definition SoftSkillsManager.c:612
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, Class::CastTo(), ComponentBonusAfter, ComponentBonusBefore, CoolDown, GeneralBonusAfter, GeneralBonusBefore, GetGame(), IsCoolDown, m_PanelSoftSkills, m_SoftSkillManager, OnUpdate(), SpecialtyChange и SpecialtyTotal.

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

◆ ~SoftSkillManagerDebug()

598 {
599 if ( GetGame() )
600 {
601 GetGame().GetUpdateQueue(CALL_CATEGORY_SYSTEM).Remove(this.OnUpdate);
602 }
603
604 delete m_PanelSoftSkills;
605 }

Перекрестные ссылки CALL_CATEGORY_SYSTEM, GetGame(), m_PanelSoftSkills и OnUpdate().

Переменные

◆ ComponentBonusAfter

TextWidget ComponentBonusAfter

Используется в OnUpdate() и SoftSkillManagerDebug().

◆ ComponentBonusBefore

TextWidget ComponentBonusBefore

Используется в OnUpdate() и SoftSkillManagerDebug().

◆ CoolDown

TextWidget CoolDown

Используется в OnUpdate() и SoftSkillManagerDebug().

◆ GeneralBonusAfter

TextWidget GeneralBonusAfter

Используется в OnUpdate() и SoftSkillManagerDebug().

◆ GeneralBonusBefore

TextWidget GeneralBonusBefore

Используется в OnUpdate() и SoftSkillManagerDebug().

◆ IsCoolDown

TextWidget IsCoolDown

Используется в OnUpdate() и SoftSkillManagerDebug().

◆ m_PanelSoftSkills

ref Widget m_PanelSoftSkills

Используется в SoftSkillManagerDebug() и ~SoftSkillManagerDebug().

◆ m_SoftSkillManager

class SoftSkillsManager m_SoftSkillManager

Используется в GetActiveSoftSkillManager() и SoftSkillManagerDebug().

◆ SpecialtyChange

TextWidget SpecialtyChange

Используется в OnUpdate() и SoftSkillManagerDebug().

◆ SpecialtyTotal

TextWidget SpecialtyTotal

Используется в OnUpdate() и SoftSkillManagerDebug().