Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISTrapMenu Class Reference

Static Public Member Functions

static boolean doTrapMenu (integer player, ISContextMenu context, IsoObject[] worldobjects, boolean test)
static void onRemoveBait (IsoObject[] worldobjects, CTrapGlobalObject trap, IsoPlayer player)
static void onAddBait (IsoObject[] worldobjects, nil bait, CTrapGlobalObject trap, IsoPlayer player)
static void onCheckTrap (IsoObject[] worldobjects, CTrapGlobalObject trap, IsoPlayer player)
static void addAnimalDebug (CTrapGlobalObject trap, IsoPlayer player, umbrella::TrapAnimalDefinition animal)
static void onRemoveTrap (IsoObject[] worldobjects, CTrapGlobalObject trap, IsoPlayer player)
static void onPlaceTrap (IsoObject[] worldobjects, InventoryItem trap, IsoPlayer player)

Member Function Documentation

◆ addAnimalDebug()

void ISTrapMenu::addAnimalDebug ( CTrapGlobalObject trap,
IsoPlayer player,
umbrella::TrapAnimalDefinition animal )
static

◆ doTrapMenu()

boolean ISTrapMenu::doTrapMenu ( integer player,
ISContextMenu context,
IsoObject[] worldobjects,
boolean test )
static

◆ onAddBait()

void ISTrapMenu::onAddBait ( IsoObject[] worldobjects,
nil bait,
CTrapGlobalObject trap,
IsoPlayer player )
static

◆ onCheckTrap()

void ISTrapMenu::onCheckTrap ( IsoObject[] worldobjects,
CTrapGlobalObject trap,
IsoPlayer player )
static

◆ onPlaceTrap()

void ISTrapMenu::onPlaceTrap ( IsoObject[] worldobjects,
InventoryItem trap,
IsoPlayer player )
static

◆ onRemoveBait()

void ISTrapMenu::onRemoveBait ( IsoObject[] worldobjects,
CTrapGlobalObject trap,
IsoPlayer player )
static

◆ onRemoveTrap()

void ISTrapMenu::onRemoveTrap ( IsoObject[] worldobjects,
CTrapGlobalObject trap,
IsoPlayer player )
static

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