C# 클래스 ctac.PossibleActionsModel

파일 보기 프로젝트 열기: dshook/centauri-tac 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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