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

Public Member Functions

Context SpawnItem (Context instigator, CellReference destination)
 
Context[] SpawnItem (Context instigator, CellReference destination, int count)
 
Context SpawnItem (Context instigator, CellReference destination, bool launch)
 
Context[] SpawnItem (Context instigator, CellReference destination, int count, bool launch)
 
Context SpawnItem (Context instigator, Vector3 position, float rotation)
 
Context SpawnItem (Context instigator, Vector3 position, float rotation, bool launch)
 
Context[] SpawnItem (Context instigator, Vector3 position, float rotation, int count)
 
Context[] SpawnItem (Context instigator, Vector3 position, float rotation, int count, bool launch)
 
bool IsStackable ()
 
bool Matches (InventoryLibraryReference other)
 Compares this inventory library reference to another one. Returns true if they match.
 

Static Public Member Functions

static implicit operator ResourceLibraryReference (InventoryLibraryReference reference)
 

Member Function Documentation

◆ IsStackable()

bool IsStackable ( )

◆ Matches()

bool Matches ( InventoryLibraryReference other)

Compares this inventory library reference to another one. Returns true if they match.

Parameters
other
Returns

◆ operator ResourceLibraryReference()

static implicit operator ResourceLibraryReference ( InventoryLibraryReference reference)
static

◆ SpawnItem() [1/8]

Context SpawnItem ( Context instigator,
CellReference destination )

◆ SpawnItem() [2/8]

Context SpawnItem ( Context instigator,
CellReference destination,
bool launch )

◆ SpawnItem() [3/8]

Context[] SpawnItem ( Context instigator,
CellReference destination,
int count )

◆ SpawnItem() [4/8]

Context[] SpawnItem ( Context instigator,
CellReference destination,
int count,
bool launch )

◆ SpawnItem() [5/8]

Context SpawnItem ( Context instigator,
Vector3 position,
float rotation )

◆ SpawnItem() [6/8]

Context SpawnItem ( Context instigator,
Vector3 position,
float rotation,
bool launch )

◆ SpawnItem() [7/8]

Context[] SpawnItem ( Context instigator,
Vector3 position,
float rotation,
int count )

◆ SpawnItem() [8/8]

Context[] SpawnItem ( Context instigator,
Vector3 position,
float rotation,
int count,
bool launch )