Data Structures | |
| class | ActionSkinningCB |
Functions | |
| ActionSkinningCB ActionContinuousBaseCB | ActionSkinning () |
| override void | CreateActionComponent () |
| override void | CreateConditionComponents () |
| override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
| override void | OnFinishProgressServer (ActionData action_data) |
| ItemBase | CreateOrgan (PlayerBase player, vector body_pos, string item_to_spawn, string cfg_skinning_organ_class, ItemBase tool) |
| override void | OnFinishProgressClient (ActionData action_data) |
| void | HandlePlayerBody (ActionData action_data) |
| This section drops all clothes (and attachments) from the dead player before deleting their body. | |
| void | DropInventoryItems (PlayerBase body, float newLifetime) |
| void | SpawnItems (ActionData action_data) |
| vector | GetRandomPos (vector body_pos) |
| override bool ActionCondition | ( | PlayerBase | player, |
| ActionTarget | target, | ||
| ItemBase | item | ||
| ) |
References Class::CastTo().
| ActionSkinningCB ActionContinuousBaseCB ActionSkinning | ( | ) |
| override void CreateActionComponent | ( | ) |
References m_CommandUID, and m_StanceMask.
| override void CreateConditionComponents | ( | ) |
| ItemBase CreateOrgan | ( | PlayerBase | player, |
| vector | body_pos, | ||
| string | item_to_spawn, | ||
| string | cfg_skinning_organ_class, | ||
| ItemBase | tool | ||
| ) |
References Class::CastTo(), CGame::ConfigGetFloat(), CGame::ConfigGetFloatArray(), 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 | ||
| ) |
Referenced by HandlePlayerBody().
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.
References 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 | ) |
| override void OnFinishProgressServer | ( | ActionData | action_data | ) |
| void SpawnItems | ( | ActionData | action_data | ) |