ManiaScript Reference  2019-05
CModulePlaygroundInventory Struct Reference
Inheritance diagram for CModulePlaygroundInventory:
CModulePlayground CNod

Public Member Functions

Integer AddItem (CPlayer Player, Text Url, Integer Quantity)
 
Boolean AddAction (CPlayer Player, Text Url)
 
Integer RemoveInventoryItem (CPlayer Player, Text Url, Integer Quantity)
 
Integer GetInventoryItemQuantity (CPlayer Player, Text Url)
 
Boolean IsInventoryItemStored (CPlayer Player, Text Url)
 
Text [] GetStoredItemsList (CPlayer Player)
 
Text [] GetStoredActionsList (CPlayer Player)
 
- Public Member Functions inherited from CModulePlayground
Void Hide ()
 
Void Hide (CUIConfig UIConfig)
 
Void Show ()
 
Void Show (CUIConfig UIConfig)
 
Boolean IsVisible (CUIConfig UIConfig)
 

Additional Inherited Members

- Public Attributes inherited from CNod
const Ident Id
 

Member Function Documentation

◆ AddAction()

Boolean CModulePlaygroundInventory::AddAction ( CPlayer  Player,
Text  Url 
)

◆ AddItem()

Integer CModulePlaygroundInventory::AddItem ( CPlayer  Player,
Text  Url,
Integer  Quantity 
)

◆ GetInventoryItemQuantity()

Integer CModulePlaygroundInventory::GetInventoryItemQuantity ( CPlayer  Player,
Text  Url 
)

◆ GetStoredActionsList()

Text [] CModulePlaygroundInventory::GetStoredActionsList ( CPlayer  Player)

◆ GetStoredItemsList()

Text [] CModulePlaygroundInventory::GetStoredItemsList ( CPlayer  Player)

◆ IsInventoryItemStored()

Boolean CModulePlaygroundInventory::IsInventoryItemStored ( CPlayer  Player,
Text  Url 
)

◆ RemoveInventoryItem()

Integer CModulePlaygroundInventory::RemoveInventoryItem ( CPlayer  Player,
Text  Url,
Integer  Quantity 
)