Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
GardenBase Class Reference

Private Member Functions

override bool CanBePlaced (Man player, vector position)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanRemoveFromCargo (EntityAI parent)
override void EEDelete (EntityAI parent)
void GardenPlot ()
override int GetGardenSlotsCount ()
override bool IsInventoryVisible ()
override bool IsTakeable ()
override void OnHologramBeingPlaced (Man player)
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementStarted (Man player)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
void RefreshSlots ()

Private Attributes

const int GARDEN_SLOT_COUNT = 9
Object m_ClutterCutter
const float PLACEMENT_HEIGHT_LIMIT = 0.3

Detailed Description

Definition at line 1 of file gardenplot.c.

Member Function Documentation

◆ CanBePlaced()

override bool CanBePlaced ( Man player,
vector position )
inlineprivate

Definition at line 103 of file gardenplot.c.

References g_Game, and PLACEMENT_HEIGHT_LIMIT.

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 118 of file gardenplot.c.

◆ CanPutIntoHands()

override bool CanPutIntoHands ( EntityAI parent)
inlineprivate

Definition at line 129 of file gardenplot.c.

◆ CanRemoveFromCargo()

override bool CanRemoveFromCargo ( EntityAI parent)
inlineprivate

Definition at line 123 of file gardenplot.c.

◆ EEDelete()

override void EEDelete ( EntityAI parent)
inlineprivate

Definition at line 26 of file gardenplot.c.

References g_Game, and m_ClutterCutter.

◆ GardenPlot()

void GardenPlot ( )
inlineprivate

Definition at line 7 of file gardenplot.c.

◆ GetGardenSlotsCount()

◆ IsInventoryVisible()

override bool IsInventoryVisible ( )
inlineprivate

Definition at line 37 of file gardenplot.c.

◆ IsTakeable()

override bool IsTakeable ( )
inlineprivate

Definition at line 113 of file gardenplot.c.

◆ OnHologramBeingPlaced()

override void OnHologramBeingPlaced ( Man player)
inlineprivate

Definition at line 78 of file gardenplot.c.

References RefreshSlots().

◆ OnPlacementComplete()

override void OnPlacementComplete ( Man player,
vector position = "0 0 0",
vector orientation = "0 0 0" )
inlineprivate

Definition at line 83 of file gardenplot.c.

References ECE_PLACE_ON_SURFACE, g_Game, GetPosition(), m_ClutterCutter, and SyncSlots().

◆ OnPlacementStarted()

override void OnPlacementStarted ( Man player)
inlineprivate

Definition at line 73 of file gardenplot.c.

References RefreshSlots().

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprivate

Definition at line 12 of file gardenplot.c.

References ECE_PLACE_ON_SURFACE, g_Game, GetOrientation(), GetPosition(), and m_ClutterCutter.

◆ RefreshSlots()

void RefreshSlots ( )
inlineprivate

Definition at line 47 of file gardenplot.c.

Field Documentation

◆ GARDEN_SLOT_COUNT

const int GARDEN_SLOT_COUNT = 9
private

Definition at line 4 of file gardenplot.c.

Referenced by GetGardenSlotsCount().

◆ m_ClutterCutter

Object m_ClutterCutter
private

Definition at line 3 of file gardenplot.c.

Referenced by EEDelete(), OnPlacementComplete(), and OnStoreLoad().

◆ PLACEMENT_HEIGHT_LIMIT

const float PLACEMENT_HEIGHT_LIMIT = 0.3
private

Definition at line 5 of file gardenplot.c.

Referenced by CanBePlaced().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/gardenbase/gardenplot.c