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

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

void ActionBaseCB ()
 
int GetPossileStanceMask ()
 
override void OnAnimationEvent (int pEventID)
 
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
62 {
63 m_ActionData.m_ActionComponent = new CADummy;
64 }
ActionData m_ActionData
Definition AnimatedActionBase.c:3
Definition CADummy.c:2

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

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

◆ EndActionComponent()

void EndActionComponent ( )
inlineprotected
79 {
80 }

◆ GetActionComponentProgress()

float GetActionComponentProgress ( )
inlineprotected
120 {
121 if ( m_ActionData.m_ActionComponent )
122 {
123 return m_ActionData.m_ActionComponent.GetProgress();
124 }
125 return 0;
126 }

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

◆ GetActionState()

int GetActionState ( )
inlineprotected
129 {
130 return m_ActionData.m_State;
131 }

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

◆ GetPossileStanceMask()

int GetPossileStanceMask ( )
inlineprotected
14 {
15 return m_ActionData.m_PossibleStanceMask;
16 }

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

◆ GetTarget()

ActionTarget GetTarget ( )
inlineprotected
134 {
135 return m_ActionData.m_Target;
136 }

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

◆ InitActionComponent()

void InitActionComponent ( )
inlineprotected
67 {
68 }

◆ Interrupt()

void Interrupt ( )
inlineprotected
84 {
85 if ( GetGame().IsServer() )
86 {
88 {
89 Debug.ActionLog("n/a", this.ToString() , "n/a", "Interrupt", m_ActionData.m_Player.ToString() );
90 }
91 if ( GetGame().IsMultiplayer() )
92 {
94 }
95 }
96 else
97 {
99 {
102 ctx.Write(DayZPlayerConstants.CMD_ACTIONINT_INTERRUPT);
103 ctx.Send();
104 }
105 }
106 m_Interrupted = true;
107 }
const int INPUT_UDT_STANDARD_ACTION_END_REQUEST
Definition _constants.c:3
proto string ToString()
bool m_Interrupted
Definition AnimatedActionBase.c:6
Definition DayZPlayerSyncJunctures.c:5
static void SendActionInterrupt(DayZPlayer pPlayer)
Definition DayZPlayerSyncJunctures.c:265
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:141
Definition Debug.c:600
static bool IsActionLogEnable()
Definition Debug.c:644
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, DayZPlayerSyncJunctures::SendActionInterrupt() и ToString().

◆ IsUserActionCallback()

override bool IsUserActionCallback ( )
inlineprotected
115 {
116 return true;
117 }

◆ OnAnimationEvent()

override void OnAnimationEvent ( int pEventID)
inlineprotected
19 {
20 if ( m_ActionData )
21 {
22 m_ActionData.m_DelayedAnimationEventID = pEventID;
23 }
24 }

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

◆ OnFinish()

override void OnFinish ( bool pCanceled)
inlineprotected
28 {
30 {
31 if ( m_ActionData)
32 Debug.ActionLog("Time stamp: " + m_ActionData.m_Player.GetSimulationTimeStamp(), m_ActionData.m_Action.ToString() , "n/a", "OnFinish", m_ActionData.m_Player.ToString() );
33 else
34 Debug.ActionLog("n/a", this.ToString() , "n/a", "OnFinish", "n/a" );
35 }
36 if ( m_SoundObject )
37 {
38 GetGame().ObjectDelete(m_SoundObject);
39 }
40 if ( m_ActionData && m_ActionData.m_Player )
41 {
42 if ( pCanceled )
43 {
44 m_ActionData.m_State = m_ActionData.m_ActionComponent.Interrupt(m_ActionData);
45 }
46
48
49 if(action)
51 }
52 }
SoundOnVehicle m_SoundObject
Definition AnimatedActionBase.c:4
Definition AnimatedActionBase.c:142

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

◆ ProgressActionComponent()

void ProgressActionComponent ( )
inlineprotected
71 {
72 if ( m_ActionData.m_ActionComponent )
73 {
74 m_ActionData.m_State = m_ActionData.m_ActionComponent.Execute(m_ActionData);
75 }
76 }

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

◆ SetActionData()

void SetActionData ( ActionData action_data)
inlineprotected
110 {
112 }

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

◆ SetCommand()

Поля

◆ 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(), ActionEatSnowContinuousCB::CreateActionComponent(), ActionEmptyBottleBaseCB::CreateActionComponent(), ActionExtinguishFireplaceByExtinguisherCB::CreateActionComponent(), ActionExtinguishFireplaceByLiquidCB::CreateActionComponent(), ActionFertilizeSlotCB::CreateActionComponent(), ActionFillBottleBaseCB::CreateActionComponent(), ActionFillGeneratorTankCB::CreateActionComponent(), ActionFillObjectCB::CreateActionComponent(), ActionFishingNewCB::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(), ActionRepairBoatEngineCB::CreateActionComponent(), ActionRepairCarChassisWithBlowtorchCB::CreateActionComponent(), ActionRepairCarEngineWithBlowtorchCB::CreateActionComponent(), ActionRepairItemWithBlowtorchCB::CreateActionComponent(), ActionRepairPartCB::CreateActionComponent(), ActionRepairTentCB::CreateActionComponent(), ActionRepairTentPartCB::CreateActionComponent(), ActionRepairVehiclePartCB::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(), ActionWashHandsSnowCB::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(), ActionStartEngineBoatCB::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(), ActionEmptyBottleBaseCB::EndActionComponent(), ActionUnrestrainSelfCB::EndActionComponent(), ActionDropItemCB::EndActionComponent(), GetActionComponentProgress(), GetActionState(), ActionSawPlanksCB::GetDefaultTime(), GetPossileStanceMask(), GetTarget(), ActionContinuousBaseCB::InitActionComponent(), ActionInteractBaseCB::InitActionComponent(), ActionSingleUseBaseCB::InitActionComponent(), Interrupt(), ActionUnrestrainTargetCB::ObtainUnrestrainTime(), ActionUnfoldMapCB::OnAnimationEvent(), 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


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