C# Класс ctac.PossibleActionsModel

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
chooseCards List>.Dictionary
eventedPieces List
metConditions List>.Dictionary
possibleAbilities List>.Dictionary
possibleActions List>.Dictionary
possibleAreas List>.Dictionary
spellDamage int>.Dictionary

Открытые методы

Метод Описание
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

Описание методов

GetAbilitiesForPiece() публичный Метод

Gets any ability targets if they exist for a piece, null if none
public GetAbilitiesForPiece ( int playerId, int pieceId ) : AbilityTarget
playerId int
pieceId int
Результат AbilityTarget

GetActionsForCard() публичный Метод

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
Результат ActionTarget

GetAreasForCard() публичный Метод

public GetAreasForCard ( int playerId, int cardId ) : AreaTarget
playerId int
cardId int
Результат AreaTarget

GetChoiceCards() публичный Метод

public GetChoiceCards ( int playerId, int cardId ) : ChoiceCard
playerId int
cardId int
Результат ChoiceCard

GetSpellDamage() публичный Метод

public GetSpellDamage ( int playerId ) : int
playerId int
Результат int

Update() публичный Метод

public Update ( PossibleActions newActions ) : void
newActions PossibleActions
Результат void

Описание свойств

chooseCards публичное свойство

public Dictionary> chooseCards
Результат List>.Dictionary

eventedPieces публичное свойство

public List eventedPieces
Результат List

metConditions публичное свойство

public Dictionary> metConditions
Результат List>.Dictionary

possibleAbilities публичное свойство

public Dictionary> possibleAbilities
Результат List>.Dictionary

possibleActions публичное свойство

public Dictionary> possibleActions
Результат List>.Dictionary

possibleAreas публичное свойство

public Dictionary> possibleAreas
Результат List>.Dictionary

spellDamage публичное свойство

public Dictionary spellDamage
Результат int>.Dictionary