Endstar LUA API Documentation
Loading...
Searching...
No Matches
Item Class Reference

Public Member Functions

 Item (Component component)
 
InventoryLibraryReference GetInventoryLibraryReference ()
 Gets the inventory item reference of this item. Non-Resource instant pickups will return null.
 
void Despawn (Context instigator)
 

Properties

LuaInterfaceEvent OnPickedUp = new() [get]
 Fires whenever this item is picked up and passes the context of the character that picked up this item and this item's context.
 

Constructor & Destructor Documentation

◆ Item()

Item ( Component component)

Member Function Documentation

◆ Despawn()

void Despawn ( Context instigator)

◆ GetInventoryLibraryReference()

InventoryLibraryReference GetInventoryLibraryReference ( )

Gets the inventory item reference of this item. Non-Resource instant pickups will return null.

Returns

Property Documentation

◆ OnPickedUp

LuaInterfaceEvent OnPickedUp = new()
get

Fires whenever this item is picked up and passes the context of the character that picked up this item and this item's context.