28 protected void Init();
81 super.OnInventoryExit(player);
109 if (MiscGameplayFunctions.IsUnderRoofEx(
this, 60))
132 super.OnVariablesSynchronized();
142 override void GetDebugActions(out TSelectableActionInfoArrayEx outputList)
147 super.GetDebugActions(outputList);
152 if (super.OnAction(action_id, player, ctx))
156 if (action_id ==
EActions.ACTIVATE_ENTITY)
Param4< int, int, string, int > TSelectableActionInfoWithColor
PlaceObjectActionReciveData ActionReciveData ActionDeployObject()
ActionLightItemOnFireCB ActionContinuousBaseCB ActionLightItemOnFire()
void AddAction(typename actionName)
static float Dot(vector v1, vector v2)
Returns Dot product of vector v1 and vector v2.
override void EEOnCECreate()
override void OnVariablesSynchronized()
override bool OnAction(int action_id, Man player, ParamsReadContext ctx)
override void GetDebugActions(out TSelectableActionInfoArrayEx outputList)
void OnStateChangedClient(EFireworksState currentState)
void OnStateChangedServer(EFireworksState currentState)
override void OnIgnitedThis(EntityAI fire_source)
Executed on Server when some item ignited this one.
float GetMaxAllowedWetness()
override bool HasFlammableMaterial()
void OnEventServer(int type)
Called periodically after the entity gets ignited.
bool CanBeIgnitedBy(EntityAI igniter=NULL)
Serializer ParamsReadContext
const int SAT_DEBUG_ACTION
proto native int GetState()
returns one of STATE_...
override bool IsBeingPlaced()
void OnInventoryEnter(Man player)
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
void OnInventoryExit(Man player)
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a par...
enum EObjectTemperatureState m_State
void SetState(bool state)