C# 클래스 WindBot.Game.AI.Executor

파일 보기 프로젝트 열기: SalvationDevelopment/windbot

공개 메소드들

메소드 설명
AddExecutor ( ExecutorType type ) : void
AddExecutor ( ExecutorType type, Func func ) : void
AddExecutor ( ExecutorType type, int cardId ) : void
AddExecutor ( ExecutorType type, int cardId, Func func ) : void
ChainContainsCard ( int id ) : bool
ChainCountPlayer ( int player ) : int
GetLastChainCard ( ) : ClientCard
HasChainedTrap ( int player ) : bool
OnBattle ( IList attackers, IList defenders ) : BattlePhaseAction
OnChainEnd ( ) : void
OnChaining ( int player, ClientCard card ) : void
OnPreBattleBetween ( ClientCard attacker, ClientCard defender ) : bool
OnSelectCard ( IList cards, int min, int max, bool cancelable ) : IList
OnSelectHand ( ) : bool
OnSelectYesNo ( int desc ) : bool
SetBattle ( BattlePhase battle ) : void
SetCard ( ExecutorType type, ClientCard card, int description ) : void
SetMain ( MainPhase main ) : void

보호된 메소드들

메소드 설명
Executor ( GameAI ai, Duel duel ) : System

비공개 메소드들

메소드 설명
DefaultNoExecutor ( ) : bool

메소드 상세

AddExecutor() 공개 메소드

public AddExecutor ( ExecutorType type ) : void
type ExecutorType
리턴 void

AddExecutor() 공개 메소드

public AddExecutor ( ExecutorType type, Func func ) : void
type ExecutorType
func Func
리턴 void

AddExecutor() 공개 메소드

public AddExecutor ( ExecutorType type, int cardId ) : void
type ExecutorType
cardId int
리턴 void

AddExecutor() 공개 메소드

public AddExecutor ( ExecutorType type, int cardId, Func func ) : void
type ExecutorType
cardId int
func Func
리턴 void

ChainContainsCard() 공개 메소드

public ChainContainsCard ( int id ) : bool
id int
리턴 bool

ChainCountPlayer() 공개 메소드

public ChainCountPlayer ( int player ) : int
player int
리턴 int

Executor() 보호된 메소드

protected Executor ( GameAI ai, Duel duel ) : System
ai GameAI
duel Duel
리턴 System

GetLastChainCard() 공개 메소드

public GetLastChainCard ( ) : ClientCard
리턴 ClientCard

HasChainedTrap() 공개 메소드

public HasChainedTrap ( int player ) : bool
player int
리턴 bool

OnBattle() 공개 메소드

public OnBattle ( IList attackers, IList defenders ) : BattlePhaseAction
attackers IList
defenders IList
리턴 BattlePhaseAction

OnChainEnd() 공개 메소드

public OnChainEnd ( ) : void
리턴 void

OnChaining() 공개 메소드

public OnChaining ( int player, ClientCard card ) : void
player int
card ClientCard
리턴 void

OnPreBattleBetween() 공개 메소드

public OnPreBattleBetween ( ClientCard attacker, ClientCard defender ) : bool
attacker ClientCard
defender ClientCard
리턴 bool

OnSelectCard() 공개 메소드

public OnSelectCard ( IList cards, int min, int max, bool cancelable ) : IList
cards IList
min int
max int
cancelable bool
리턴 IList

OnSelectHand() 공개 메소드

public OnSelectHand ( ) : bool
리턴 bool

OnSelectYesNo() 공개 메소드

public OnSelectYesNo ( int desc ) : bool
desc int
리턴 bool

SetBattle() 공개 메소드

public SetBattle ( BattlePhase battle ) : void
battle BattlePhase
리턴 void

SetCard() 공개 메소드

public SetCard ( ExecutorType type, ClientCard card, int description ) : void
type ExecutorType
card ClientCard
description int
리턴 void

SetMain() 공개 메소드

public SetMain ( MainPhase main ) : void
main MainPhase
리턴 void