Client LuaCsForBarotrauma
CheckPurchasedItemsAction Class Reference

Check whether specific kinds of items have been purchased or sold during the round. More...

Inheritance diagram for CheckPurchasedItemsAction:

Public Types

enum class  TransactionType { Purchased , Sold }
 

Public Member Functions

 CheckPurchasedItemsAction (ScriptedEvent parentEvent, ContentXElement element)
 

Protected Member Functions

override? bool DetermineSuccess ()
 

Properties

TransactionType Type [get, set]
 
Identifier ItemIdentifier [get, set]
 
Identifier ItemTag [get, set]
 
int MinCount [get, set]
 

Detailed Description

Check whether specific kinds of items have been purchased or sold during the round.

Definition at line 9 of file CheckPurchasedItemsAction.cs.

Member Enumeration Documentation

◆ TransactionType

Enumerator
Purchased 
Sold 

Definition at line 11 of file CheckPurchasedItemsAction.cs.

Constructor & Destructor Documentation

◆ CheckPurchasedItemsAction()

CheckPurchasedItemsAction.CheckPurchasedItemsAction ( ScriptedEvent  parentEvent,
ContentXElement  element 
)

Definition at line 29 of file CheckPurchasedItemsAction.cs.

Member Function Documentation

◆ DetermineSuccess()

override? bool CheckPurchasedItemsAction.DetermineSuccess ( )
protected

Definition at line 34 of file CheckPurchasedItemsAction.cs.

Property Documentation

◆ ItemIdentifier

Identifier CheckPurchasedItemsAction.ItemIdentifier
getset

Definition at line 21 of file CheckPurchasedItemsAction.cs.

◆ ItemTag

Identifier CheckPurchasedItemsAction.ItemTag
getset

Definition at line 24 of file CheckPurchasedItemsAction.cs.

◆ MinCount

int CheckPurchasedItemsAction.MinCount
getset

Definition at line 27 of file CheckPurchasedItemsAction.cs.

◆ Type

TransactionType CheckPurchasedItemsAction.Type
getset

Definition at line 18 of file CheckPurchasedItemsAction.cs.