-
-
Notifications
You must be signed in to change notification settings - Fork 101
OVUtils
Divided by Zer0 edited this page Mar 9, 2022
·
5 revisions
Extends: Reference
This class is not instanced via its name. Rather it is instanced using its path from cfc This allows a game to extend it by extending this class and then replacing the path in CFConst.PATH_OVERRIDABLE_UTILS with the location of their extended script.
func populate_info_panels(card: Card, focus_info: DetailPanels) -> void
Populates the info panels under the card, when it is shown in the viewport focus or deckbuilder
func get_subjects(_subject_request, _stored_integer: int = 0) -> Array
func select_card(card_list: Array, selection_count: int, selection_type: String, selection_optional: bool, parent_node, card_select_scene)
func filter_card_pool(filters_list: Array, card_pool: Dictionary) -> Array
Goes through the card pool of the game and checks each card against the provided list of filters Then returns all card names matching the filters.