DayZ 1.24
Loading...
Searching...
No Matches
TreeHard Class Reference

Specific tree class can be declared as: class TreeHard + _ + p3d filename (without extension) More...

Inherits PlantSuper.

Inherited by TreeHard_BetulaPendula [private], TreeHard_t_FagusSylvatica_2d [private], TreeHard_t_FagusSylvatica_2f [private], TreeHard_t_FagusSylvatica_2fb [private], TreeHard_t_FagusSylvatica_2fc [private], TreeHard_t_FagusSylvatica_2s [private], TreeHard_t_FagusSylvatica_3d [private], TreeHard_t_FagusSylvatica_3f [private], TreeHard_t_FagusSylvatica_3fb [private], TreeHard_t_FagusSylvatica_3s [private], TreeHard_t_FraxinusExcelsior_2f [private], TreeHard_t_FraxinusExcelsior_2s [private], TreeHard_t_FraxinusExcelsior_3s [private], TreeHard_t_LarixDecidua_2f [private], TreeHard_t_LarixDecidua_2fb [private], TreeHard_t_LarixDecidua_2s [private], TreeHard_t_LarixDecidua_3f [private], TreeHard_t_LarixDecidua_3fb [private], TreeHard_t_PiceaAbies_2f [private], TreeHard_t_PiceaAbies_2fb [private], TreeHard_t_PiceaAbies_2s [private], TreeHard_t_PiceaAbies_3f [private], TreeHard_t_PiceaAbies_3s [private], TreeHard_t_PinusSylvestris_2f [private], TreeHard_t_PinusSylvestris_2fb [private], TreeHard_t_PinusSylvestris_2s [private], TreeHard_t_PinusSylvestris_2sb [private], TreeHard_t_PinusSylvestris_3d [private], TreeHard_t_PinusSylvestris_3f [private], TreeHard_t_PinusSylvestris_3fb [private], TreeHard_t_PinusSylvestris_3fc [private], TreeHard_t_PinusSylvestris_3s [private], TreeHard_t_carpinus_2s [private], TreeHard_t_juglansRegia_2s [private], TreeHard_t_juglansRegia_3s [private], TreeHard_t_naked_1s [private], TreeHard_t_naked_2s [private], TreeHard_t_piceaabies_2d [private], TreeHard_t_piceaabies_3d [private], TreeHard_t_populusAlba_2s [private], TreeHard_t_populusAlba_3s [private], TreeHard_t_populusNigra_3s [private], TreeHard_t_prunusDomestica_2s [private], TreeHard_t_pyrusCommunis_3s [private], TreeHard_t_pyrusCommunis_3sb [private], TreeHard_t_quercusRobur_2d [private], TreeHard_t_quercusRobur_2f [private], TreeHard_t_quercusRobur_2s [private], TreeHard_t_quercusRobur_2sb [private], TreeHard_t_quercusRobur_2sc [private], TreeHard_t_quercusRobur_3d [private], TreeHard_t_quercusRobur_3f [private], TreeHard_t_quercusRobur_3fb [private], TreeHard_t_quercusRobur_3s [private], TreeHard_t_quercusRobur_3sb [private], TreeHard_t_robiniaPseudoacacia_2f [private], TreeHard_t_robiniaPseudoacacia_2s [private], TreeHard_t_robiniaPseudoacacia_3f [private], TreeHard_t_salixAlba_2s [private], TreeHard_t_salixAlba_2sb [private], TreeHard_t_salixAlba_2sb_swamp [private], and TreeHard_t_sorbus_2s [private].

Collaboration diagram for TreeHard:
[legend]

Private Member Functions

override void OnTreeCutDown (EntityAI cutting_entity)
 
override bool IsTree ()
 
override bool CanBeAutoDeleted ()
 

Detailed Description

Specific tree class can be declared as: class TreeHard + _ + p3d filename (without extension)

//exapmle for tree DZ\plants2\tree\t_acer2s.p3d
{
};
Specific tree class can be declared as: class TreeHard + _ + p3d filename (without extension)
Definition Plant.c:18

Definition at line 17 of file Plant.c.

Member Function Documentation

◆ CanBeAutoDeleted()

override bool TreeHard::CanBeAutoDeleted ( )
inlineprivate

Definition at line 29 of file Plant.c.

30 {
31 return false;
32 }

◆ IsTree()

override bool TreeHard::IsTree ( )
inlineprivate

Definition at line 24 of file Plant.c.

25 {
26 return true;
27 }

◆ OnTreeCutDown()

override void TreeHard::OnTreeCutDown ( EntityAI cutting_entity)
inlineprivate

Definition at line 19 of file Plant.c.

20 {
21 GetGame().RPCSingleParam(cutting_entity, PlantType.TREE_HARD, null, true);
22 }
proto native CGame GetGame()

References GetGame().


The documentation for this class was generated from the following file: