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

DEPRECATED. Подробнее...

+ Граф наследования:ActionReadPaper:

Закрытые члены

void ActionReadPaper ()
 
override void CreateConditionComponents ()
 
override bool HasTarget ()
 
override void OnUpdate (ActionData action_data)
 
override void OnEndRequest (ActionData action_data)
 
- Закрытые члены унаследованные от ActionContinuousBase
void OnStartAnimationLoopServer (ActionData action_data)
 
void OnStartAnimationLoopClient (ActionData action_data)
 
void OnEndAnimationLoopServer (ActionData action_data)
 
void OnEndAnimationLoopClient (ActionData action_data)
 
void OnFinishProgressServer (ActionData action_data)
 
void OnFinishProgressClient (ActionData action_data)
 

Подробное описание

DEPRECATED.

Конструктор(ы)

◆ ActionReadPaper()

void ActionReadPaper ( )
inlineprivate
33 {
35 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_VIEWNOTE;
36 m_FullBody = true;
37 m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_PRONE;
38 m_Text = "#read";
39 }
bool m_FullBody
Definition ActionBase.c:61
string m_Text
Definition ActionBase.c:58
int m_StanceMask
Definition ActionBase.c:62
Definition ActionReadPaper.c:2
int m_CommandUID
Definition AnimatedActionBase.c:143
m_CallbackClass
Definition AnimatedActionBase.c:145
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602

Перекрестные ссылки AnimatedActionBase::m_CallbackClass, AnimatedActionBase::m_CommandUID, ActionBase::m_FullBody, ActionBase::m_StanceMask и ActionBase::m_Text.

Методы

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate
42 {
45 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:64
ref CCTBase m_ConditionTarget
Definition ActionBase.c:65
Definition CCINonRuined.c:2
Definition CCTNone.c:2

Перекрестные ссылки ActionBase::m_ConditionItem и ActionBase::m_ConditionTarget.

◆ HasTarget()

override bool HasTarget ( )
inlineprivate
48 {
49 return false;
50 }

◆ OnEndRequest()

override void OnEndRequest ( ActionData action_data)
inlineprivate
66 {
67 if (action_data.m_Callback)
68 {
69 action_data.m_Callback.InternalCommand(DayZPlayerConstants.CMD_ACTIONINT_INTERRUPT);
70 }
71 }
Definition EntityAI.c:95

◆ OnUpdate()

override void OnUpdate ( ActionData action_data)
inlineprivate
53 {
54 super.OnUpdate(action_data);
55
56 if(!GetGame().IsDedicatedServer())
57 {
58 if (action_data.m_State == UA_FINISHED && GetGame().GetUIManager() && !GetGame().GetUIManager().IsMenuOpen(MENU_NOTE))
59 {
60 ActionManagerClient.Cast(action_data.m_Player.GetActionManager()).RequestEndAction();
61 }
62 }
63 }
Definition ActionManagerClient.c:5
override void RequestEndAction()
Definition ActionManagerClient.c:264
proto native CGame GetGame()
const int MENU_NOTE
Definition constants.c:188
const int UA_FINISHED
Definition constants.c:443

Перекрестные ссылки GetGame(), MENU_NOTE, ActionManagerClient::RequestEndAction() и UA_FINISHED.


Объявления и описания членов класса находятся в файле: