C# Class Sanguosha.UI.Controls.GameLogs

Datei anzeigen Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
AppendCardMoveLog ( List cards, DeckPlace source, DeckPlace dest ) : void
AppendDamageLog ( Player source, Player target, int magnitude, DamageElement element ) : void
AppendDeathLog ( Player p, Player by ) : void
AppendImprisonedLog ( Player player ) : void
AppendLog ( ActionLog log ) : void
AppendLogEvent ( List players, Prompt custom, bool useUICard = true ) : void
AppendPickHeroLog ( Player player, bool isPrimaryHero ) : void
AppendSeparator ( ) : void
GameLogs ( ) : System

Private Methods

Method Description
AppendJudgeResultLog ( Player p, Sanguosha.Core.Cards.Card card, ActionLog log, bool isSuccess, bool isFinalResult ) : void
AppendLoseHealthLog ( Player player, int delta ) : void
AppendLoseMaxHealthLog ( Player player, int delta ) : void
AppendMultipleChoiceLog ( Player p, string answer ) : void
AppendRecoverHealthLog ( Player player, int delta ) : void
AppendReforgeLog ( Player p, ICard card ) : void
AppendShowCardsLog ( Player p, IList cards ) : void

Method Details

AppendCardMoveLog() public method

public AppendCardMoveLog ( List cards, DeckPlace source, DeckPlace dest ) : void
cards List
source Sanguosha.Core.Cards.DeckPlace
dest Sanguosha.Core.Cards.DeckPlace
return void

AppendDamageLog() public method

public AppendDamageLog ( Player source, Player target, int magnitude, DamageElement element ) : void
source Sanguosha.Core.Players.Player
target Sanguosha.Core.Players.Player
magnitude int
element DamageElement
return void

AppendDeathLog() public method

public AppendDeathLog ( Player p, Player by ) : void
p Sanguosha.Core.Players.Player
by Sanguosha.Core.Players.Player
return void

AppendImprisonedLog() public method

public AppendImprisonedLog ( Player player ) : void
player Sanguosha.Core.Players.Player
return void

AppendLog() public method

public AppendLog ( ActionLog log ) : void
log Sanguosha.Core.UI.ActionLog
return void

AppendLogEvent() public method

public AppendLogEvent ( List players, Prompt custom, bool useUICard = true ) : void
players List
custom Sanguosha.Core.UI.Prompt
useUICard bool
return void

AppendPickHeroLog() public method

public AppendPickHeroLog ( Player player, bool isPrimaryHero ) : void
player Sanguosha.Core.Players.Player
isPrimaryHero bool
return void

AppendSeparator() public method

public AppendSeparator ( ) : void
return void

GameLogs() public method

public GameLogs ( ) : System
return System