Data Structures | |
| class | TreeEffecterParameters |
Enumerations | |
| enum | EHarvestType { NORMAL , BARK } |
Functions | |
| void | WoodBase () |
| void | InitMiningValues () |
| override bool | IsWoodBase () |
| override bool | IsCuttable () |
| bool | HasPlayerCollisionParticle () |
| bool | HasPlayerCollisionSound () |
| int | GetPrimaryDropsAmount () |
| int | GetSecondaryDropsAmount () |
| float | GetToolDamage () |
| float | GetCycleTimeOverride () |
| string | GetPrimaryOutput () |
| string | GetSecondaryOutput () |
| string | GetBarkType () |
| int | GetAmountOfDrops (ItemBase item) |
| int | GetAmountOfDropsEx (ItemBase item, EHarvestType type) |
| void | GetMaterialAndQuantityMap (ItemBase item, out map< string, int > output_map) |
| void | GetMaterialAndQuantityMapEx (ItemBase item, out map< string, int > output_map, EHarvestType type) |
| float | GetDamageToMiningItemEachDrop (ItemBase item) |
| float | GetDamageToMiningItemEachDropEx (ItemBase item, EHarvestType type) |
| override bool | CanBeActionTarget () |
| void | TreeEffecter () |
| override void | Init (int id, EffecterParameters parameters) |
| void | SetRadius (float radius) |
| override void | OnVariablesSynchronized () |
| void | ~TreeEffecter () |
Variables | |
| enum EHarvestType | m_IsCuttable |
| static int | m_PrimaryDropsAmount = -1 |
| static int | m_SecondaryDropsAmount = -1 |
| static float | m_ToolDamage = -1.0 |
| static float | m_CycleTimeOverride = -1.0 |
| static string | m_PrimaryOutput = "" |
| static string | m_SecondaryOutput = "" |
| static string | m_BarkType = "" |
| TreeEffecterParameters | m_Effects = null |
| private float | m_Radius = -1 |
| private float | m_RadiusSync = -1 |
| enum EHarvestType |
| override bool CanBeActionTarget | ( | ) |
Referenced by VicinityObjects::TransformToVicinityObjects().
References GetPrimaryDropsAmount().
| int GetAmountOfDropsEx | ( | ItemBase | item, |
| EHarvestType | type | ||
| ) |
References GetPrimaryDropsAmount().
| string GetBarkType | ( | ) |
Referenced by GetMaterialAndQuantityMap(), and GetMaterialAndQuantityMapEx().
| float GetCycleTimeOverride | ( | ) |
References GetToolDamage().
| float GetDamageToMiningItemEachDropEx | ( | ItemBase | item, |
| EHarvestType | type | ||
| ) |
References GetToolDamage().
References GetBarkType(), and GetPrimaryOutput().
| void GetMaterialAndQuantityMapEx | ( | ItemBase | item, |
| out map< string, int > | output_map, | ||
| EHarvestType | type | ||
| ) |
References GetBarkType(), and GetPrimaryOutput().
| int GetPrimaryDropsAmount | ( | ) |
Referenced by GetAmountOfDrops(), and GetAmountOfDropsEx().
| string GetPrimaryOutput | ( | ) |
Referenced by GetMaterialAndQuantityMap(), and GetMaterialAndQuantityMapEx().
| int GetSecondaryDropsAmount | ( | ) |
| string GetSecondaryOutput | ( | ) |
| float GetToolDamage | ( | ) |
Referenced by GetDamageToMiningItemEachDrop(), and GetDamageToMiningItemEachDropEx().
| bool HasPlayerCollisionParticle | ( | ) |
| bool HasPlayerCollisionSound | ( | ) |
| override void Init | ( | int | id, |
| EffecterParameters | parameters | ||
| ) |
References TreeEffecterParameters::m_Radius, and SetRadius().
| void InitMiningValues | ( | ) |
| override bool IsCuttable | ( | ) |
| override bool IsWoodBase | ( | ) |
| override void OnVariablesSynchronized | ( | ) |
References CGame::ConfigGetText(), SEffectManager::DestroyEffect(), EffectParticleGeneral(), GetGame(), CGame::GetObjectsAtPosition(), LOD::GetSelectionByName(), Selection::GetVertexCount(), Selection::GetVertexPosition(), m_Command, m_CommandSync, m_Effects, m_Radius, m_RadiusSync, LOD::NAME_MEMORY, SEffectManager::PlayInWorld(), SEffectManager::PlaySoundEnviroment(), ParticleList::RegisterParticle(), EffectSound::SetAutodestroy(), and WoodBase().
| void SetRadius | ( | float | radius | ) |
References m_RadiusSync, and Process().
Referenced by EntityLightSource::EOnFrame(), EntityLightSource::HandleRadiusFadeing(), Init(), and EntityLightSource::SetRadiusTo().
| void WoodBase | ( | ) |
| void ~TreeEffecter | ( | ) |
References SEffectManager::DestroyEffect(), EffectParticleGeneral(), and m_Effects.
|
static |
|
static |
| TreeEffecterParameters m_Effects = null |
Referenced by OnVariablesSynchronized(), TreeEffecter(), and ~TreeEffecter().
| enum EHarvestType m_IsCuttable |
|
static |
|
static |
| private float m_Radius = -1 |
| private float m_RadiusSync = -1 |
Referenced by OnVariablesSynchronized(), and SetRadius().
|
static |
|
static |
|
static |