C# Class Dominion.DebugGameLog

Inheritance: IGameLog, IDisposable
Afficher le fichier Open project: NathanTeeuwen/Dominulator Class Usage Examples

Méthodes publiques

Méthode Description
BeginPhase ( PlayerState playerState ) : void
BeginRound ( PlayerState playerState ) : void
BeginTurn ( PlayerState playerState ) : void
CardWentToLocation ( DeckPlacement deckPlacement ) : void
DebugGameLog ( IndentedTextWriter textWriter ) : System
DebugGameLog ( System textWriter ) : System
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
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

Private Methods

Méthode Description
TextForDeckPlacement ( DeckPlacement source ) : string
WriteAllCards ( IEnumerable enumerable ) : void
WriteAllCards ( PlayerState playerState ) : void

Method Details

BeginPhase() public méthode

public BeginPhase ( PlayerState playerState ) : void
playerState PlayerState
Résultat void

BeginRound() public méthode

public BeginRound ( PlayerState playerState ) : void
playerState PlayerState
Résultat void

BeginTurn() public méthode

public BeginTurn ( PlayerState playerState ) : void
playerState PlayerState
Résultat void

CardWentToLocation() public méthode

public CardWentToLocation ( DeckPlacement deckPlacement ) : void
deckPlacement DeckPlacement
Résultat void

DebugGameLog() public méthode

public DebugGameLog ( IndentedTextWriter textWriter ) : System
textWriter IndentedTextWriter
Résultat System

DebugGameLog() public méthode

public DebugGameLog ( System textWriter ) : System
textWriter System
Résultat System

DiscardedCard() public méthode

public DiscardedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DrewCardIntoHand() public méthode

public DrewCardIntoHand ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

EndGame() public méthode

public EndGame ( GameState gameState ) : void
gameState GameState
Résultat void

EndPhase() public méthode

public EndPhase ( PlayerState playerState ) : void
playerState PlayerState
Résultat void

EndRound() public méthode

public EndRound ( GameState gameState ) : void
gameState GameState
Résultat void

EndTurn() public méthode

public EndTurn ( PlayerState playerState ) : void
playerState PlayerState
Résultat void

LogDeck() public méthode

public LogDeck ( PlayerState playerState ) : void
playerState PlayerState
Résultat void

PlayedCard() public méthode

public PlayedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerBoughtCard() public méthode

public PlayerBoughtCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerChoseLocationForStash() public méthode

public PlayerChoseLocationForStash ( PlayerState playerState, int positions ) : void
playerState PlayerState
positions int
Résultat void

PlayerDiscardCard() public méthode

public PlayerDiscardCard ( PlayerState playerState, Dominion.Card card, DeckPlacement source ) : void
playerState PlayerState
card Dominion.Card
source DeckPlacement
Résultat void

PlayerGainedActions() public méthode

public PlayerGainedActions ( PlayerState playerState, int actionAmount ) : void
playerState PlayerState
actionAmount int
Résultat void

PlayerGainedBuys() public méthode

public PlayerGainedBuys ( PlayerState playerState, int buyAmount ) : void
playerState PlayerState
buyAmount int
Résultat void

PlayerGainedCard() public méthode

public PlayerGainedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerGainedCoin() public méthode

public PlayerGainedCoin ( PlayerState playerState, int coinAmount ) : void
playerState PlayerState
coinAmount int
Résultat void

PlayerGainedCoinToken() public méthode

public PlayerGainedCoinToken ( PlayerState playerState, int coinAmount ) : void
playerState PlayerState
coinAmount int
Résultat void

PlayerGainedPotion() public méthode

public PlayerGainedPotion ( PlayerState playerState, int count ) : void
playerState PlayerState
count int
Résultat void

PlayerGainedVictoryTokens() public méthode

public PlayerGainedVictoryTokens ( PlayerState playerState, int amount ) : void
playerState PlayerState
amount int
Résultat void

PlayerNamedCard() public méthode

public PlayerNamedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerOverpaidForCard() public méthode

public PlayerOverpaidForCard ( Dominion.Card boughtCard, int overPayAmount ) : void
boughtCard Dominion.Card
overPayAmount int
Résultat void

PlayerPlacedCardOnIslandMat() public méthode

public PlayerPlacedCardOnIslandMat ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerPlacedCardOnNativeVillageMat() public méthode

public PlayerPlacedCardOnNativeVillageMat ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerPlacedCardOnTavernMat() public méthode

public PlayerPlacedCardOnTavernMat ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerPutCardInHand() public méthode

public PlayerPutCardInHand ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerReturnedCardToHand() public méthode

public PlayerReturnedCardToHand ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerReturnedCardToPile() public méthode

public PlayerReturnedCardToPile ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerRevealedCard() public méthode

public PlayerRevealedCard ( PlayerState playerState, Dominion.Card card, DeckPlacement source ) : void
playerState PlayerState
card Dominion.Card
source DeckPlacement
Résultat void

PlayerSetAsideCardFromHandForNextTurn() public méthode

public PlayerSetAsideCardFromHandForNextTurn ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerTopDeckedCard() public méthode

public PlayerTopDeckedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PlayerTrashedCard() public méthode

public PlayerTrashedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

PopScope() public méthode

public PopScope ( ) : void
Résultat void

PushScope() public méthode

public PushScope ( ) : void
Résultat void

ReceivedDurationEffectFrom() public méthode

public ReceivedDurationEffectFrom ( PlayerState playerState, Dominion.Card card ) : void
playerState PlayerState
card Dominion.Card
Résultat void

ReshuffledDiscardIntoDeck() public méthode

public ReshuffledDiscardIntoDeck ( PlayerState playerState ) : void
playerState PlayerState
Résultat void

StartGame() public méthode

public StartGame ( GameState gameState ) : void
gameState GameState
Résultat void