Skip to content

OVUtils

Divided by Zer0 edited this page Mar 9, 2022 · 5 revisions

OVUtils

Extends: Reference

Description

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.

Method Descriptions

populate_info_panels

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

get_subjects

func get_subjects(_subject_request, _stored_integer: int = 0) -> Array

select_card

func select_card(card_list: Array, selection_count: int, selection_type: String, selection_optional: bool, parent_node, card_select_scene)

filter_card_pool

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.

Clone this wiki locally