Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ActionBaseCB
+ Граф наследования:ActionBaseCB:

Защищенные члены

void ActionBaseCB ()
 
int GetPossileStanceMask ()
 
override void OnFinish (bool pCanceled)
 
void SetCommand (int command_uid)
 
void CreateActionComponent ()
 
void InitActionComponent ()
 
void ProgressActionComponent ()
 
void EndActionComponent ()
 
void Interrupt ()
 
void SetActionData (ActionData action_data)
 
override bool IsUserActionCallback ()
 
float GetActionComponentProgress ()
 
int GetActionState ()
 
ActionTarget GetTarget ()
 

Защищенные данные

ActionData m_ActionData
 
SoundOnVehicle m_SoundObject
 
bool m_Canceled
 
bool m_Interrupted
 

Дополнительные унаследованные члены

- Закрытые члены унаследованные от HumanCommandActionCallback
void PluginDayzPlayerActionCallback ()
 
void ~PluginDayzPlayerActionCallback ()
 
override void OnFinish (bool pCanceled)
 
bool CancelCondition ()
 
override void OnAnimationEvent (int pEventID)
 
override void OnStateChange (int pOldState, int pCurrentState)
 
- Закрытые данные унаследованные от HumanCommandActionCallback
float m_fTimeStart
 
TextWidget m_pStateWidget
 
TextWidget m_pAnimEventWidget
 
TextListboxWidget m_EventsHistory
 
- Закрытые статические данные унаследованные от HumanCommandActionCallback
static ref set< stringm_AnimEventMapping
 

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

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

◆ ActionBaseCB()

void ActionBaseCB ( )
inlineprotected
10 {
11 }

Методы

◆ CreateActionComponent()

void CreateActionComponent ( )
inlineprotected
54 {
56 }
ActionData m_ActionData
Definition AnimatedActionBase.c:3
ref CABase m_ActionComponent
Definition ActionBase.c:30
Definition CADummy.c:2

Перекрестные ссылки ActionData::m_ActionComponent и m_ActionData.

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

◆ EndActionComponent()

void EndActionComponent ( )
inlineprotected
71 {
72 }

◆ GetActionComponentProgress()

float GetActionComponentProgress ( )
inlineprotected
112 {
114 {
115 return m_ActionData.m_ActionComponent.GetProgress();
116 }
117 return 0;
118 }

Перекрестные ссылки ActionData::m_ActionComponent и m_ActionData.

◆ GetActionState()

int GetActionState ( )
inlineprotected
121 {
122 return m_ActionData.m_State;
123 }
int m_State
Definition ActionBase.c:31

Перекрестные ссылки m_ActionData и ActionData::m_State.

◆ GetPossileStanceMask()

int GetPossileStanceMask ( )
inlineprotected
14 {
16 }
int m_PossibleStanceMask
Definition ActionBase.c:34

Перекрестные ссылки m_ActionData и ActionData::m_PossibleStanceMask.

◆ GetTarget()

ActionTarget GetTarget ( )
inlineprotected
126 {
127 return m_ActionData.m_Target;
128 }
ref ActionTarget m_Target
Definition ActionBase.c:32

Перекрестные ссылки m_ActionData и ActionData::m_Target.

◆ InitActionComponent()

void InitActionComponent ( )
inlineprotected
59 {
60 }

◆ Interrupt()

void Interrupt ( )
inlineprotected
76 {
77 if ( GetGame().IsServer() )
78 {
80 {
81 Debug.ActionLog("n/a", this.ToString() , "n/a", "Interrupt", m_ActionData.m_Player.ToString() );
82 }
83 if ( GetGame().IsMultiplayer() )
84 {
86 }
87 }
88 else
89 {
91 {
94 ctx.Write(DayZPlayerConstants.CMD_ACTIONINT_INTERRUPT);
95 ctx.Send();
96 }
97 }
98 m_Interrupted = true;
99 }
const int INPUT_UDT_STANDARD_ACTION_END_REQUEST
Definition _constants.c:3
proto string ToString()
bool m_Interrupted
Definition AnimatedActionBase.c:6
PlayerBase m_Player
Definition ActionBase.c:33
Definition DayZPlayerSyncJunctures.c:5
static void SendActionInterrupt(DayZPlayer pPlayer)
Definition DayZPlayerSyncJunctures.c:264
Definition Debug.c:14
static void ActionLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Definition Debug.c:148
Definition Debug.c:735
static bool IsActionLogEnable()
Definition Debug.c:779
Definition EntityAI.c:95
Definition gameplay.c:121
proto static native bool CanStoreInputUserData()
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602
proto native CGame GetGame()

Перекрестные ссылки Debug::ActionLog(), ScriptInputUserData::CanStoreInputUserData(), GetGame(), INPUT_UDT_STANDARD_ACTION_END_REQUEST, LogManager::IsActionLogEnable(), m_ActionData, m_Interrupted, ActionData::m_Player, DayZPlayerSyncJunctures::SendActionInterrupt() и ToString().

◆ IsUserActionCallback()

override bool IsUserActionCallback ( )
inlineprotected
107 {
108 return true;
109 }

◆ OnFinish()

override void OnFinish ( bool pCanceled)
inlineprotected
20 {
22 {
23 if ( m_ActionData)
24 Debug.ActionLog("Time stamp: " + m_ActionData.m_Player.GetSimulationTimeStamp(), m_ActionData.m_Action.ToString() , "n/a", "OnFinish", m_ActionData.m_Player.ToString() );
25 else
26 Debug.ActionLog("n/a", this.ToString() , "n/a", "OnFinish", "n/a" );
27 }
28 if ( m_SoundObject )
29 {
30 GetGame().ObjectDelete(m_SoundObject);
31 }
33 {
34 if ( pCanceled )
35 {
37 }
38
40
41 if(action)
43 }
44 }
SoundOnVehicle m_SoundObject
Definition AnimatedActionBase.c:4
ref ActionBase m_Action
Definition ActionBase.c:27
Definition AnimatedActionBase.c:134

Перекрестные ссылки Debug::ActionLog(), GetGame(), LogManager::IsActionLogEnable(), ActionData::m_Action, ActionData::m_ActionComponent, m_ActionData, ActionData::m_Player, m_SoundObject, ActionData::m_State и ToString().

◆ ProgressActionComponent()

void ProgressActionComponent ( )
inlineprotected

◆ SetActionData()

void SetActionData ( ActionData action_data)
inlineprotected
102 {
104 }

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

◆ SetCommand()

void SetCommand ( int command_uid)
inlineprotected
47 {
49 }
proto native void InternalCommand(int pInternalCommandId)

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

Используется в ActionContinuousBaseCB::EndActionComponent(), ActionInteractBaseCB::EndActionComponent(), ActionUnrestrainSelfCB::EndActionComponent() и ActionDropItemCB::EndActionComponent().

Поля

◆ m_ActionData

ActionData m_ActionData
protected

Используется в ActionContinuousBaseCB::CancelCondition(), ActionInteractLoopBaseCB::CancelCondition(), ActionInteractBaseCB::CreateActionComponent(), ActionInteractLoopBaseCB::CreateActionComponent(), ActionSingleUseBaseCB::CreateActionComponent(), ActionActivateTrapCB::CreateActionComponent(), ActionArmExplosiveCB::CreateActionComponent(), ActionAttachExplosivesTriggerCB::CreateActionComponent(), ActionBreakLongWoodenStickCB::CreateActionComponent(), ActionBuildOvenCB::CreateActionComponent(), ActionBuildPartCB::CreateActionComponent(), ActionBuildStoneCircleCB::CreateActionComponent(), ActionBuryAshesCB::CreateActionComponent(), ActionBuryBodyCB::CreateActionComponent(), ActionConsumeCB::CreateActionComponent(), ActionCookOnStickCB::CreateActionComponent(), ActionCoverHeadSelfCB::CreateActionComponent(), ActionCoverHeadTargetCB::CreateActionComponent(), ActionCraftCB::CreateActionComponent(), ActionCraftArmbandCB::CreateActionComponent(), ActionCraftBoltsCB::CreateActionComponent(), ActionCraftBoltsFeatherCB::CreateActionComponent(), ActionCraftBoneKnifeCB::CreateActionComponent(), ActionCraftBoneKnifeEnvCB::CreateActionComponent(), ActionCraftImprovisedEyePatchCB::CreateActionComponent(), ActionCraftImprovisedFaceCoverCB::CreateActionComponent(), ActionCraftImprovisedFeetCoverCB::CreateActionComponent(), ActionCraftImprovisedHandsCoverCB::CreateActionComponent(), ActionCraftImprovisedHeadCoverCB::CreateActionComponent(), ActionCraftImprovisedLegsCoverCB::CreateActionComponent(), ActionCraftImprovisedTorsoCoverCB::CreateActionComponent(), ActionCraftRopeBeltCB::CreateActionComponent(), ActionCraftStoneKnifeEnvCB::CreateActionComponent(), ActionCreateGreenhouseGardenPlotCB::CreateActionComponent(), ActionDeCraftDrysackBagCB::CreateActionComponent(), ActionDeCraftRopeBeltCB::CreateActionComponent(), ActionDeCraftWitchHoodCoifCB::CreateActionComponent(), ActionDestroyCombinationLockCB::CreateActionComponent(), ActionDestroyPartCB::CreateActionComponent(), ActionDialCombinationLockCB::CreateActionComponent(), ActionDialCombinationLockOnTargetCB::CreateActionComponent(), ActionDigInStashCB::CreateActionComponent(), ActionDigOutStashCB::CreateActionComponent(), ActionDigWormsCB::CreateActionComponent(), ActionDisarmExplosiveCB::CreateActionComponent(), ActionDisarmExplosiveWithRemoteDetonatorCB::CreateActionComponent(), ActionDisarmExplosiveWithRemoteDetonatorUnpairedCB::CreateActionComponent(), ActionDisarmMineCB::CreateActionComponent(), ActionDisinfectPlantCB::CreateActionComponent(), ActionDismantleGardenPlotCB::CreateActionComponent(), ActionDismantleOvenCB::CreateActionComponent(), ActionDismantlePartCB::CreateActionComponent(), ActionDismantleStoneCircleCB::CreateActionComponent(), ActionDrainLiquidCB::CreateActionComponent(), ActionDrinkCB::CreateActionComponent(), ActionDrinkPondContinuousCB::CreateActionComponent(), ActionDrinkWellContinuousCB::CreateActionComponent(), ActionEatBigCB::CreateActionComponent(), ActionEatCB::CreateActionComponent(), ActionEatSmallCB::CreateActionComponent(), ActionEatCanCB::CreateActionComponent(), ActionEatSmallCanCB::CreateActionComponent(), ActionEatFruitCB::CreateActionComponent(), ActionEatMeatCB::CreateActionComponent(), ActionEmptyBottleBaseCB::CreateActionComponent(), ActionExtinguishFireplaceByExtinguisherCB::CreateActionComponent(), ActionExtinguishFireplaceByLiquidCB::CreateActionComponent(), ActionFertilizeSlotCB::CreateActionComponent(), ActionFillBottleBaseCB::CreateActionComponent(), ActionFillGeneratorTankCB::CreateActionComponent(), ActionFillObjectCB::CreateActionComponent(), ActionFoldBaseBuildingObjectCB::CreateActionComponent(), ActionForceConsumeCB::CreateActionComponent(), ActionForceDrinkCB::CreateActionComponent(), ActionForceFeedCB::CreateActionComponent(), ActionForceFeedSmallCB::CreateActionComponent(), ActionForceFeedMeatCB::CreateActionComponent(), ActionIgniteFireplaceByAirCB::CreateActionComponent(), ActionLightItemOnFireCB::CreateActionComponent(), ActionLightItemOnFireWithBlowtorchCB::CreateActionComponent(), ActionLoadMagazineCB::CreateActionComponent(), ActionLoadMagazineQuickCB::CreateActionComponent(), ActionLockDoorsCB::CreateActionComponent(), ActionMineBushCB::CreateActionComponent(), ActionMineRockCB::CreateActionComponent(), ActionMountBarbedWireCB::CreateActionComponent(), ActionPackGiftCB::CreateActionComponent(), ActionPlaceOnGroundCB::CreateActionComponent(), ActionPourLiquidCB::CreateActionComponent(), ActionManipulateFlagCB::CreateActionComponent(), ActionRaiseMegaphoneCB::CreateActionComponent(), ActionRepairCarChassisCB::CreateActionComponent(), ActionRepairCarChassisWithBlowtorchCB::CreateActionComponent(), ActionRepairCarEngineCB::CreateActionComponent(), ActionRepairCarEngineWithBlowtorchCB::CreateActionComponent(), ActionRepairCarPartCB::CreateActionComponent(), ActionRepairCarPartWithBlowtorchCB::CreateActionComponent(), ActionRepairItemWithBlowtorchCB::CreateActionComponent(), ActionRepairPartCB::CreateActionComponent(), ActionRepairTentCB::CreateActionComponent(), ActionRepairTentPartCB::CreateActionComponent(), ActionRestrainSelfCB::CreateActionComponent(), ActionRestrainTargetCB::CreateActionComponent(), ActionSawPlanksCB::CreateActionComponent(), ActionShaveCB::CreateActionComponent(), ActionShaveTargetCB::CreateActionComponent(), ActionSkinningCB::CreateActionComponent(), ActionSortAmmoPileCB::CreateActionComponent(), ActionStripCarrierVestCB::CreateActionComponent(), ActionTransferLiquidCB::CreateActionComponent(), ActionTuneFrequencyCB::CreateActionComponent(), ActionTuneRadioStationCB::CreateActionComponent(), ActionTurnValveCB::CreateActionComponent(), ActionTurnValveUndergroundReservoirCB::CreateActionComponent(), ActionUncoverHeadSelfCB::CreateActionComponent(), ActionUncoverHeadTargetCB::CreateActionComponent(), ActionUnlockDoorsCB::CreateActionComponent(), ActionUnmountBarbedWireCB::CreateActionComponent(), ActionUnpackBoxCB::CreateActionComponent(), ActionUnpackGiftCB::CreateActionComponent(), ActionUnrestrainSelfCB::CreateActionComponent(), ActionUnrestrainTargetCB::CreateActionComponent(), ActionUnrestrainTargetHandsCB::CreateActionComponent(), ActionUpgradeTorchFromGasPumpCB::CreateActionComponent(), ActionUseRangefinderCB::CreateActionComponent(), ActionRaiseAndViewCB::CreateActionComponent(), ActionWashHandsItemContinuousCB::CreateActionComponent(), ActionWashHandsWaterCB::CreateActionComponent(), ActionWashHandsWellCB::CreateActionComponent(), ActionWaterGardenSlotCB::CreateActionComponent(), ActionWaterPlantCB::CreateActionComponent(), ActionWorldCraftCB::CreateActionComponent(), ActionWringClothesCB::CreateActionComponent(), ActionBandageSelfCB::CreateActionComponent(), ActionBandageTargetCB::CreateActionComponent(), ActionBurnSewSelfCB::CreateActionComponent(), ActionBurnSewTargetCB::CreateActionComponent(), ActionCheckPulseTargetCB::CreateActionComponent(), ActionCollectBloodSelfCB::CreateActionComponent(), ActionCollectBloodTargetCB::CreateActionComponent(), ActionCollectSampleSelfCB::CreateActionComponent(), ActionCollectSampleTargetCB::CreateActionComponent(), ActionCPRCB::CreateActionComponent(), ActionDefibrilateSelfCB::CreateActionComponent(), ActionDefibrilateTargetCB::CreateActionComponent(), ActionFeedVitaminBottleCB::CreateActionComponent(), ActionGiveBloodTargetCB::CreateActionComponent(), ActionGiveSalineSelfCB::CreateActionComponent(), ActionGiveSalineTargetCB::CreateActionComponent(), ActionMeasureTemperatureSelfCB::CreateActionComponent(), ActionMeasureTemperatureTargetCB::CreateActionComponent(), ActionSewSelfCB::CreateActionComponent(), ActionSewTargetCB::CreateActionComponent(), ActionSplintSelfCB::CreateActionComponent(), ActionSplintTargetCB::CreateActionComponent(), ActionTestBloodSelfCB::CreateActionComponent(), ActionTestBloodTargetCB::CreateActionComponent(), ActionFillBrakesCB::CreateActionComponent(), ActionFillCoolantCB::CreateActionComponent(), ActionFillFuelCB::CreateActionComponent(), ActionFillOilCB::CreateActionComponent(), ActionStartCarCB::CreateActionComponent(), ActionPackTentCB::CreateActionComponent(), ActionPickBerryCB::CreateActionComponent(), ActionRepackTentCB::CreateActionComponent(), ActionSetAlarmClockCB::CreateActionComponent(), ActionSetKitchenTimerCB::CreateActionComponent(), ActionWashHandsWaterOneCB::CreateActionComponent(), ActionWashHandsWellOneCB::CreateActionComponent(), ActionConsumeSingleCB::CreateActionComponent(), ActionDisinfectPlantBitCB::CreateActionComponent(), ActionForceABiteCB::CreateActionComponent(), ActionForceConsumeSingleCB::CreateActionComponent(), ActionReadPaperCB::CreateActionComponent(), ActionResetKitchenTimerClockCB::CreateActionComponent(), ActionTakeABiteCB::CreateActionComponent(), ActionTurnOffAlarmClockCB::CreateActionComponent(), ActionTurnOffTransmitterCB::CreateActionComponent(), ActionTurnOnAlarmClockCB::CreateActionComponent(), ActionTurnOnTransmitterCB::CreateActionComponent(), ActionWritePaperCB::CreateActionComponent(), ActionDisinfectSelfCB::CreateActionComponent(), ActionDisinfectTargetCB::CreateActionComponent(), CreateActionComponent(), ActionRepackTentCB::DropDuringRepacking(), ActionContinuousBaseCB::EndActionComponent(), ActionInteractBaseCB::EndActionComponent(), ActionSingleUseBaseCB::EndActionComponent(), ActionUnrestrainSelfCB::EndActionComponent(), ActionDropItemCB::EndActionComponent(), GetActionComponentProgress(), GetActionState(), ActionSawPlanksCB::GetDefaultTime(), GetPossileStanceMask(), GetTarget(), ActionContinuousBaseCB::InitActionComponent(), ActionInteractBaseCB::InitActionComponent(), ActionSingleUseBaseCB::InitActionComponent(), Interrupt(), ActionUnrestrainTargetCB::ObtainUnrestrainTime(), ActionContinuousBaseCB::OnAnimationEvent(), ActionInteractBaseCB::OnAnimationEvent(), ActionSingleUseBaseCB::OnAnimationEvent(), ActionUnfoldMapCB::OnAnimationEvent(), ActionUnfoldMapCB::OnFinish(), OnFinish(), ActionRaiseAndViewCB::OnStateChange(), ActionReadPaperCB::OnStateChange(), ActionUnfoldMapCB::OnStateChange(), ActionWritePaperCB::OnStateChange(), ActionUnfoldMapCB::PerformMapChange(), ProgressActionComponent(), ActionUnfoldMapCB::SetActionData(), SetActionData(), ActionContinuousBaseCB::UserEndsAction() и ActionUnfoldMapCB::~ActionUnfoldMapCB().

◆ m_Canceled

◆ m_Interrupted

◆ m_SoundObject


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