DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
Crafting_WoodenStick Class Reference

Crafting example, Lets have this crafting situation: we want to craft a Consumable_Matchbox from Crafting_WoodenStick using any knife´╗┐ in player hands. More...

#include <exampleEntities.h>

Inheritance diagram for Crafting_WoodenStick:
ItemBase

Private Member Functions

bool  IsActionCraftMatchboxAvalible (Man player)
 
void  OnGetActions (ActionMenuContext ctx, Man player)
 
bool  OnAction (int action_id, Man player, Param params)
 

Private Attributes

const int  ACTION_CRAFT_MATCHBOX = 1000
 

Detailed Description

Crafting example, Lets have this crafting situation: we want to craft a Consumable_Matchbox from Crafting_WoodenStick using any knife´╗┐ in player hands.

Member Function Documentation

bool Crafting_WoodenStick::IsActionCraftMatchboxAvalible ( Man  player )
private
void Crafting_WoodenStick::OnGetActions ( ActionMenuContext  ctx,
Man  player 
)
private
bool Crafting_WoodenStick::OnAction ( int  action_id,
Man  player,
Param  params 
)
private

Member Data Documentation

const int Crafting_WoodenStick::ACTION_CRAFT_MATCHBOX = 1000
private

The documentation for this class was generated from the following file:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)