Skip to content

CCEffectBidWar

Inherits CCEffectBase

Public Member Functions

override

void

RegisterParameters(CCEffectEntries effectEntries)

Takes the list of this effect's parameters and adds them to the effect list

string

Params()

All Parameters for this effect as a string.

void

RegisterBidWarEntry(BidWarEntry entry, CCEffectEntries effectEntries)

Adds a new paramter to the bid war list

bool

PlaceBid(string bidID, uint amount)

Place a bid towards one of the bid war entries. Returns true if this causes a new winner.

override

bool

HasParameterID(string id)

Returns true if any of the Bid War Entries contains an internal ID.

Protected Functions

abstract

EffectResult

OnTriggerEffect(CCEffectInstanceBidWar effectInstance)

Invoked when an effect instance is scheduled to start. The effect should only be applied when EffectResult.Success is returned.

Properties

Dictionary

BidWarEntries

[get, set]

A list of Bid War entries that viewers can choose from.