19 m_Text =
"#give_blood_person";
51 if (
action_data.m_MainItem.IsKindOf(
"BloodSyringe"))
54 lambda.SetTransferParams(
true,
true,
true);
68 PluginTransmissionAgents
plugin = PluginTransmissionAgents.Cast(
GetPlugin(PluginTransmissionAgents));
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
PluginBase GetPlugin(typename plugin_type)
ref CABase m_ActionComponent
const float CHEM_AGENT_BLOOD_REMOVAL_MODIFIER
override void CreateActionComponent()
override bool SetupAction(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL)
override void CreateConditionComponents()
void ActionGiveBloodTarget()
override ActionData CreateActionData()
override void OnEndServer(ActionData action_data)
override void OnEndAnimationLoopServer(ActionData action_data)
static bool MatchBloodCompatibility(int bloodtypetarget, int bloodtype)
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
static const float HEMOLYTIC_RISK_SHOCK_THRESHOLD
static const float HEMOLYTIC_REACTION_THRESHOLD
DayZPlayerConstants
defined in C++
const int AGT_UACTION_TO_PLAYER