C# Class ctac.PossibleActionsModel

Afficher le fichier Open project: dshook/centauri-tac Class Usage Examples

Méthodes publiques

Свойство Type Description
chooseCards List>.Dictionary
eventedPieces List
metConditions List>.Dictionary
possibleAbilities List>.Dictionary
possibleActions List>.Dictionary
possibleAreas List>.Dictionary
spellDamage int>.Dictionary

Méthodes publiques

Méthode Description
GetAbilitiesForPiece ( int playerId, int pieceId ) : AbilityTarget

Gets any ability targets if they exist for a piece, null if none

GetActionsForCard ( int playerId, int cardId ) : ActionTarget

Gets any action targets if they exist for a card, null if none Note, that this may need to be scoped to the event but for now playMinion or playSpell will work the same

GetAreasForCard ( int playerId, int cardId ) : AreaTarget
GetChoiceCards ( int playerId, int cardId ) : ChoiceCard
GetSpellDamage ( int playerId ) : int
Update ( PossibleActions newActions ) : void

Method Details

GetAbilitiesForPiece() public méthode

Gets any ability targets if they exist for a piece, null if none
public GetAbilitiesForPiece ( int playerId, int pieceId ) : AbilityTarget
playerId int
pieceId int
Résultat AbilityTarget

GetActionsForCard() public méthode

Gets any action targets if they exist for a card, null if none Note, that this may need to be scoped to the event but for now playMinion or playSpell will work the same
public GetActionsForCard ( int playerId, int cardId ) : ActionTarget
playerId int
cardId int
Résultat ActionTarget

GetAreasForCard() public méthode

public GetAreasForCard ( int playerId, int cardId ) : AreaTarget
playerId int
cardId int
Résultat AreaTarget

GetChoiceCards() public méthode

public GetChoiceCards ( int playerId, int cardId ) : ChoiceCard
playerId int
cardId int
Résultat ChoiceCard

GetSpellDamage() public méthode

public GetSpellDamage ( int playerId ) : int
playerId int
Résultat int

Update() public méthode

public Update ( PossibleActions newActions ) : void
newActions PossibleActions
Résultat void

Property Details

chooseCards public_oe property

public Dictionary> chooseCards
Résultat List>.Dictionary

eventedPieces public_oe property

public List eventedPieces
Résultat List

metConditions public_oe property

public Dictionary> metConditions
Résultat List>.Dictionary

possibleAbilities public_oe property

public Dictionary> possibleAbilities
Résultat List>.Dictionary

possibleActions public_oe property

public Dictionary> possibleActions
Résultat List>.Dictionary

possibleAreas public_oe property

public Dictionary> possibleAreas
Résultat List>.Dictionary

spellDamage public_oe property

public Dictionary spellDamage
Résultat int>.Dictionary