Blueprint

Overview

UCResourceManager and UCDeckMecanikBPLibrary expose resource and deck functions to Blueprint. Resource functions are under Cdryx|Resource|CResourceManager, deck functions under Cdryx|Resource|CDeckMecanikBPLibrary and Cdryx|Resource|CGameCardArea.

UCResourceManager Functions

Name Description
countAny Returns the quantity of a single named resource (pure)
countAll Returns the summed quantity of multiple named resources (pure)
removeAny Removes a single named resource from the inventory
removeAll Removes multiple named resources from the inventory
setupAny Sets a single named resource to a given count
setupAll Sets multiple named resources to a given count
consume Decreases a resource by count, returns new stock and resolves UClass
supply Increases a resource by count, returns new stock and resolves UClass

UCDeckMecanikBPLibrary Functions

Name Description
conv_nameToEnumAgentIco Converts an FName to ECAgentIco enum (pure)
conv_nameToEnumBoard Converts an FName to ECBoard enum (pure)
conv_nameToEnumCluster Converts an FName to ECCluster enum (pure)
conv_nameToEnumRoom Converts an FName to ECRoom enum (pure)
registerDeckMecanik Registers the deck mechanic from game deck, player deck and room exchange DataTables
retrieveDeckMecanik Returns the current UCGameCardArea (pure)
completePlayerHand Draws cards until the player hand has 5 cards
completeGameRiver Draws cards until the game river has 5 cards
moveAllCardTo Moves all cards from one array to another
moveNextCardTo Moves the next card from a source, reshuffling discard if empty
moveCardToByName Moves a specific card by tag name between arrays
moveCardTo Moves a specific card object between arrays