![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | ActionSkinningCB |
Functions | |
| override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
| ActionSkinningCB ActionContinuousBaseCB | ActionSkinning () |
| override void | CreateActionComponent () |
| override void | CreateConditionComponents () |
| ItemBase | CreateOrgan (PlayerBase player, vector body_pos, string item_to_spawn, string cfg_skinning_organ_class, ItemBase tool) |
| void | DropInventoryItems (PlayerBase body, float newLifetime) |
| vector | GetRandomPos (vector body_pos) |
| void | HandlePlayerBody (ActionData action_data) |
| This section drops all clothes (and attachments) from the dead player before deleting their body. | |
| override void | OnFinishProgressClient (ActionData action_data) |
| override void | OnFinishProgressServer (ActionData action_data) |
| void | SpawnItems (ActionData action_data) |
| override bool ActionCondition | ( | PlayerBase | player, |
| ActionTarget | target, | ||
| ItemBase | item ) |
Definition at line 48 of file actionskinning.c.
References ActionTarget, and Class::CastTo().
| ActionSkinningCB ActionContinuousBaseCB ActionSkinning | ( | ) |
Definition at line 1 of file actionskinning.c.
Referenced by ActionConstructor::RegisterActions(), Crowbar::SetActions(), HandSaw::SetActions(), HayHook::SetActions(), Iceaxe::SetActions(), Inventory_Base::SetActions(), ItemBase::SetActions(), and ToolBase::SetActions().
| override void CreateActionComponent | ( | ) |
Definition at line 32 of file actionskinning.c.
References m_CommandUID, and m_StanceMask.
| override void CreateConditionComponents | ( | ) |
Definition at line 42 of file actionskinning.c.
| ItemBase CreateOrgan | ( | PlayerBase | player, |
| vector | body_pos, | ||
| string | item_to_spawn, | ||
| string | cfg_skinning_organ_class, | ||
| ItemBase | tool ) |
Definition at line 91 of file actionskinning.c.
References Class::CastTo(), ECE_PLACE_ON_SURFACE, g_Game, GetGame(), UAItemsSpreadRadius::NARROW, Math::RandomFloat(), Math::Round(), and ItemBase::SetQuantity().
Referenced by SpawnItems().
| void DropInventoryItems | ( | PlayerBase | body, |
| float | newLifetime ) |
Definition at line 235 of file actionskinning.c.
Referenced by HandlePlayerBody().
Definition at line 372 of file actionskinning.c.
References Math::RandomFloat01(), and Vector().
| void HandlePlayerBody | ( | ActionData | action_data | ) |
This section drops all clothes (and attachments) from the dead player before deleting their body.
Definition at line 170 of file actionskinning.c.
References ActionData, Class::CastTo(), GameConstants::DAMAGE_BADLY_DAMAGED_VALUE, GameConstants::DAMAGE_DAMAGED_VALUE, GameConstants::DAMAGE_RUINED_VALUE, GameConstants::DAMAGE_WORN_VALUE, DropInventoryItems(), GetCEApi(), GameConstants::STATE_BADLY_DAMAGED, GameConstants::STATE_DAMAGED, GameConstants::STATE_RUINED, and GameConstants::STATE_WORN.
Referenced by OnFinishProgressServer().
| override void OnFinishProgressClient | ( | ActionData | action_data | ) |
Definition at line 154 of file actionskinning.c.
References ActionData, and GetGame().
| override void OnFinishProgressServer | ( | ActionData | action_data | ) |
Definition at line 63 of file actionskinning.c.
References ActionData, CALL_CATEGORY_SYSTEM, GetGame(), GetPlugin(), HandlePlayerBody(), PluginLifespan(), UADamageApplied::SKINNING, and SpawnItems().
| void SpawnItems | ( | ActionData | action_data | ) |
Definition at line 249 of file actionskinning.c.
References ActionData, CreateOrgan(), Math::Floor(), g_Game, GetGame(), and Debug::Log().