C# 클래스 Dominion.HumanReadableGameLog

상속: IGameLog, IDisposable
파일 보기 프로젝트 열기: NathanTeeuwen/Dominulator 1 사용 예제들

공개 메소드들

메소드 설명
BeginPhase ( PlayerState playerState ) : void
BeginRound ( PlayerState playerState ) : void
BeginTurn ( PlayerState playerState ) : void
CardWentToLocation ( DeckPlacement deckPlacement ) : void
DiscardedCard ( PlayerState playerState, Dominion.Card card ) : void
Dispose ( ) : void
DrewCardIntoHand ( PlayerState playerState, Dominion.Card card ) : void
EndGame ( GameState gameState ) : void
EndPhase ( PlayerState playerState ) : void
EndRound ( GameState gameState ) : void
EndTurn ( PlayerState playerState ) : void
HumanReadableGameLog ( IndentedTextWriter textWriter ) : System
HumanReadableGameLog ( System textWriter ) : System
LogDeck ( PlayerState playerState ) : void
PlayedCard ( PlayerState playerState, Dominion.Card card ) : void
PlayerBoughtCard ( PlayerState playerState, Dominion.Card card ) : void
PlayerChoseLocationForStash ( PlayerState playerState, int positions ) : void
PlayerDiscardCard ( PlayerState playerState, Dominion.Card card, DeckPlacement source ) : void
PlayerGainedActions ( PlayerState playerState, int actionAmount ) : void
PlayerGainedBuys ( PlayerState playerState, int buyAmount ) : void
PlayerGainedCard ( PlayerState playerState, Dominion.Card card ) : void
PlayerGainedCoin ( PlayerState playerState, int coinAmount ) : void
PlayerGainedCoinToken ( PlayerState playerState, int coinAmount ) : void
PlayerGainedPotion ( PlayerState playerState, int count ) : void
PlayerGainedVictoryTokens ( PlayerState playerState, int amount ) : void
PlayerNamedCard ( PlayerState playerState, Dominion.Card card ) : void
PlayerOverpaidForCard ( Dominion.Card boughtCard, int overPayAmount ) : void
PlayerPlacedCardOnIslandMat ( PlayerState playerState, Dominion.Card card ) : void
PlayerPlacedCardOnNativeVillageMat ( PlayerState playerState, Dominion.Card card ) : void
PlayerPlacedCardOnTavernMat ( PlayerState playerState, Dominion.Card card ) : void
PlayerPutCardInHand ( PlayerState playerState, Dominion.Card card ) : void
PlayerReturnedCardToHand ( PlayerState playerState, Dominion.Card card ) : void
PlayerReturnedCardToPile ( PlayerState playerState, Dominion.Card card ) : void
PlayerRevealedCard ( PlayerState playerState, Dominion.Card card, DeckPlacement source ) : void
PlayerSetAsideCardFromHandForNextTurn ( PlayerState playerState, Dominion.Card card ) : void
PlayerTopDeckedCard ( PlayerState playerState, Dominion.Card card ) : void
PlayerTrashedCard ( PlayerState playerState, Dominion.Card card ) : void
PopScope ( ) : void
PushScope ( ) : void
ReceivedDurationEffectFrom ( PlayerState playerState, Dominion.Card card ) : void
ReshuffledDiscardIntoDeck ( PlayerState playerState ) : void
StartGame ( GameState gameState ) : void
WriteAllCards ( IEnumerable cards, System textWriter ) : void

비공개 메소드들

메소드 설명
GetPlayerName ( PlayerState playerState ) : string
TextForDeckPlacement ( DeckPlacement source ) : string
WriteAllCards ( BagOfCards cards ) : void
WriteAllCards ( CollectionCards cards ) : void
WriteAllCards ( IEnumerable cards ) : void
WriteAllOwnedCards ( PlayerState playerState ) : void
WriteOutDrawnCardsIfNecessary ( ) : void
WriteOutPlayedTreasuresIfNecessary ( bool unindent = false ) : void

메소드 상세

BeginPhase() 공개 메소드

public BeginPhase ( PlayerState playerState ) : void
playerState PlayerState
리턴 void

BeginRound() 공개 메소드

public BeginRound ( PlayerState playerState ) : void
playerState PlayerState
리턴 void

BeginTurn() 공개 메소드

public BeginTurn ( PlayerState playerState ) : void
playerState PlayerState
리턴 void

CardWentToLocation() 공개 메소드

public CardWentToLocation ( DeckPlacement deckPlacement ) : void
deckPlacement DeckPlacement
리턴 void

DiscardedCard() 공개 메소드

public DiscardedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrewCardIntoHand() 공개 메소드

public DrewCardIntoHand ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

EndGame() 공개 메소드

public EndGame ( GameState gameState ) : void
gameState GameState
리턴 void

EndPhase() 공개 메소드

public EndPhase ( PlayerState playerState ) : void
playerState PlayerState
리턴 void

EndRound() 공개 메소드

public EndRound ( GameState gameState ) : void
gameState GameState
리턴 void

EndTurn() 공개 메소드

public EndTurn ( PlayerState playerState ) : void
playerState PlayerState
리턴 void

HumanReadableGameLog() 공개 메소드

public HumanReadableGameLog ( IndentedTextWriter textWriter ) : System
textWriter IndentedTextWriter
리턴 System

HumanReadableGameLog() 공개 메소드

public HumanReadableGameLog ( System textWriter ) : System
textWriter System
리턴 System

LogDeck() 공개 메소드

public LogDeck ( PlayerState playerState ) : void
playerState PlayerState
리턴 void

PlayedCard() 공개 메소드

public PlayedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerBoughtCard() 공개 메소드

public PlayerBoughtCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerChoseLocationForStash() 공개 메소드

public PlayerChoseLocationForStash ( PlayerState playerState, int positions ) : void
playerState PlayerState
positions int
리턴 void

PlayerDiscardCard() 공개 메소드

public PlayerDiscardCard ( PlayerState playerState, Dominion.Card card, DeckPlacement source ) : void
playerState PlayerState
card Dominion.Card
source DeckPlacement
리턴 void

PlayerGainedActions() 공개 메소드

public PlayerGainedActions ( PlayerState playerState, int actionAmount ) : void
playerState PlayerState
actionAmount int
리턴 void

PlayerGainedBuys() 공개 메소드

public PlayerGainedBuys ( PlayerState playerState, int buyAmount ) : void
playerState PlayerState
buyAmount int
리턴 void

PlayerGainedCard() 공개 메소드

public PlayerGainedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerGainedCoin() 공개 메소드

public PlayerGainedCoin ( PlayerState playerState, int coinAmount ) : void
playerState PlayerState
coinAmount int
리턴 void

PlayerGainedCoinToken() 공개 메소드

public PlayerGainedCoinToken ( PlayerState playerState, int coinAmount ) : void
playerState PlayerState
coinAmount int
리턴 void

PlayerGainedPotion() 공개 메소드

public PlayerGainedPotion ( PlayerState playerState, int count ) : void
playerState PlayerState
count int
리턴 void

PlayerGainedVictoryTokens() 공개 메소드

public PlayerGainedVictoryTokens ( PlayerState playerState, int amount ) : void
playerState PlayerState
amount int
리턴 void

PlayerNamedCard() 공개 메소드

public PlayerNamedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerOverpaidForCard() 공개 메소드

public PlayerOverpaidForCard ( Dominion.Card boughtCard, int overPayAmount ) : void
boughtCard Dominion.Card
overPayAmount int
리턴 void

PlayerPlacedCardOnIslandMat() 공개 메소드

public PlayerPlacedCardOnIslandMat ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerPlacedCardOnNativeVillageMat() 공개 메소드

public PlayerPlacedCardOnNativeVillageMat ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerPlacedCardOnTavernMat() 공개 메소드

public PlayerPlacedCardOnTavernMat ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerPutCardInHand() 공개 메소드

public PlayerPutCardInHand ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerReturnedCardToHand() 공개 메소드

public PlayerReturnedCardToHand ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerReturnedCardToPile() 공개 메소드

public PlayerReturnedCardToPile ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerRevealedCard() 공개 메소드

public PlayerRevealedCard ( PlayerState playerState, Dominion.Card card, DeckPlacement source ) : void
playerState PlayerState
card Dominion.Card
source DeckPlacement
리턴 void

PlayerSetAsideCardFromHandForNextTurn() 공개 메소드

public PlayerSetAsideCardFromHandForNextTurn ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerTopDeckedCard() 공개 메소드

public PlayerTopDeckedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PlayerTrashedCard() 공개 메소드

public PlayerTrashedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

PopScope() 공개 메소드

public PopScope ( ) : void
리턴 void

PushScope() 공개 메소드

public PushScope ( ) : void
리턴 void

ReceivedDurationEffectFrom() 공개 메소드

public ReceivedDurationEffectFrom ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
리턴 void

ReshuffledDiscardIntoDeck() 공개 메소드

public ReshuffledDiscardIntoDeck ( PlayerState playerState ) : void
playerState PlayerState
리턴 void

StartGame() 공개 메소드

public StartGame ( GameState gameState ) : void
gameState GameState
리턴 void

WriteAllCards() 공개 정적인 메소드

public static WriteAllCards ( IEnumerable cards, System textWriter ) : void
cards IEnumerable
textWriter System
리턴 void