C# 클래스 Sanguosha.UI.Controls.LogFormatter

파일 보기 프로젝트 열기: RagingBigFemaleBird/sgs 1 사용 예제들

공개 메소드들

메소드 설명
Format ( string format, List args ) : List
RichTranslate ( Sanguosha.Core.Cards.Card c, bool useUiCard = true ) : IList
RichTranslate ( Sanguosha.Core.Cards.CardHandler cardType ) : IList
RichTranslate ( CardViewModel card ) : IList
RichTranslate ( ICard card, bool useUiCard = true ) : IList
RichTranslate ( IList cards ) : IList
RichTranslate ( ISkill skill ) : IList
RichTranslateCardMove ( List cards, DeckPlace source, DeckPlace dest, GameAction reason ) : System.Windows.Documents.Paragraph
RichTranslateChoice ( Player p, string answer ) : System.Windows.Documents.Paragraph
RichTranslateDamage ( Player source, Player target, int magnitude, DamageElement element ) : System.Windows.Documents.Paragraph
RichTranslateDeath ( Player p, Player by ) : System.Windows.Documents.Paragraph
RichTranslateImprisoned ( Player player ) : System.Windows.Documents.Paragraph
RichTranslateKeyLog ( ActionLog log ) : System.Windows.Documents.Paragraph
RichTranslateMainLog ( ActionLog log ) : System.Windows.Documents.Paragraph
RichTranslatePickHero ( Player player, bool isPrimaryHero ) : System.Windows.Documents.Paragraph
RichTranslateRole ( Player p ) : System.Windows.Documents.Paragraph
Translate ( Sanguosha.Core.Cards.CardHandler cardHandler ) : string
Translate ( DamageElement element ) : string
Translate ( DeckPlace deckPlace ) : string
Translate ( Sanguosha.Core.Cards.DeckType deckType ) : string
Translate ( Sanguosha.Core.Heroes.Hero hero ) : string
Translate ( ICard card ) : string
Translate ( IList players ) : string
Translate ( ISkill skill ) : string
Translate ( Player player ) : string
Translate ( Prompt prompt ) : string
Translate ( Role role ) : string
Translate ( SuitType suitType ) : string
TranslateCardFootnote ( ActionLog log ) : string
TranslateLogEvent ( Prompt custom, bool useUICard = true ) : IList

비공개 메소드들

메소드 설명
LogFormatter ( ) : System
RichTranslateChat ( string playerName, string userName, string message ) : System.Windows.Documents.Paragraph
RichTranslateChatMessage ( string message ) : IList
RichTranslateJudgeResult ( Player p, Sanguosha.Core.Cards.Card card, ActionLog log, bool isFinalResult ) : System.Windows.Documents.Paragraph
RichTranslateJudgeResultEffectiveness ( Player p, ActionLog log, bool isSuccess ) : System.Windows.Documents.Paragraph
RichTranslateLoseHealth ( Player player, int delta ) : System.Windows.Documents.Paragraph
RichTranslateLoseMaxHealth ( Player player, int delta ) : System.Windows.Documents.Paragraph
RichTranslateRecoverHealth ( Player player, int delta ) : System.Windows.Documents.Paragraph
RichTranslateReforgeCard ( Player player, ICard card ) : System.Windows.Documents.Paragraph
RichTranslateShowCards ( Player player, IList cards ) : System.Windows.Documents.Paragraph
TranslateHeroName ( Sanguosha.Core.Heroes.Hero hero ) : string

메소드 상세

Format() 공개 정적인 메소드

public static Format ( string format, List args ) : List
format string
args List
리턴 List

RichTranslate() 공개 정적인 메소드

public static RichTranslate ( Sanguosha.Core.Cards.Card c, bool useUiCard = true ) : IList
c Sanguosha.Core.Cards.Card
useUiCard bool
리턴 IList

RichTranslate() 공개 정적인 메소드

public static RichTranslate ( Sanguosha.Core.Cards.CardHandler cardType ) : IList
cardType Sanguosha.Core.Cards.CardHandler
리턴 IList

RichTranslate() 공개 정적인 메소드

public static RichTranslate ( CardViewModel card ) : IList
card CardViewModel
리턴 IList

RichTranslate() 공개 정적인 메소드

public static RichTranslate ( ICard card, bool useUiCard = true ) : IList
card ICard
useUiCard bool
리턴 IList

RichTranslate() 공개 정적인 메소드

public static RichTranslate ( IList cards ) : IList
cards IList
리턴 IList

RichTranslate() 공개 정적인 메소드

public static RichTranslate ( ISkill skill ) : IList
skill ISkill
리턴 IList

RichTranslateCardMove() 공개 정적인 메소드

public static RichTranslateCardMove ( List cards, DeckPlace source, DeckPlace dest, GameAction reason ) : System.Windows.Documents.Paragraph
cards List
source Sanguosha.Core.Cards.DeckPlace
dest Sanguosha.Core.Cards.DeckPlace
reason GameAction
리턴 System.Windows.Documents.Paragraph

RichTranslateChoice() 공개 정적인 메소드

public static RichTranslateChoice ( Player p, string answer ) : System.Windows.Documents.Paragraph
p Sanguosha.Core.Players.Player
answer string
리턴 System.Windows.Documents.Paragraph

RichTranslateDamage() 공개 정적인 메소드

public static RichTranslateDamage ( Player source, Player target, int magnitude, DamageElement element ) : System.Windows.Documents.Paragraph
source Sanguosha.Core.Players.Player
target Sanguosha.Core.Players.Player
magnitude int
element DamageElement
리턴 System.Windows.Documents.Paragraph

RichTranslateDeath() 공개 정적인 메소드

public static RichTranslateDeath ( Player p, Player by ) : System.Windows.Documents.Paragraph
p Sanguosha.Core.Players.Player
by Sanguosha.Core.Players.Player
리턴 System.Windows.Documents.Paragraph

RichTranslateImprisoned() 공개 정적인 메소드

public static RichTranslateImprisoned ( Player player ) : System.Windows.Documents.Paragraph
player Sanguosha.Core.Players.Player
리턴 System.Windows.Documents.Paragraph

RichTranslateKeyLog() 공개 정적인 메소드

public static RichTranslateKeyLog ( ActionLog log ) : System.Windows.Documents.Paragraph
log Sanguosha.Core.UI.ActionLog
리턴 System.Windows.Documents.Paragraph

RichTranslateMainLog() 공개 정적인 메소드

public static RichTranslateMainLog ( ActionLog log ) : System.Windows.Documents.Paragraph
log Sanguosha.Core.UI.ActionLog
리턴 System.Windows.Documents.Paragraph

RichTranslatePickHero() 공개 정적인 메소드

public static RichTranslatePickHero ( Player player, bool isPrimaryHero ) : System.Windows.Documents.Paragraph
player Sanguosha.Core.Players.Player
isPrimaryHero bool
리턴 System.Windows.Documents.Paragraph

RichTranslateRole() 공개 정적인 메소드

public static RichTranslateRole ( Player p ) : System.Windows.Documents.Paragraph
p Sanguosha.Core.Players.Player
리턴 System.Windows.Documents.Paragraph

Translate() 공개 정적인 메소드

public static Translate ( Sanguosha.Core.Cards.CardHandler cardHandler ) : string
cardHandler Sanguosha.Core.Cards.CardHandler
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( DamageElement element ) : string
element DamageElement
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( DeckPlace deckPlace ) : string
deckPlace Sanguosha.Core.Cards.DeckPlace
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( Sanguosha.Core.Cards.DeckType deckType ) : string
deckType Sanguosha.Core.Cards.DeckType
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( Sanguosha.Core.Heroes.Hero hero ) : string
hero Sanguosha.Core.Heroes.Hero
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( ICard card ) : string
card ICard
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( IList players ) : string
players IList
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( ISkill skill ) : string
skill ISkill
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( Player player ) : string
player Sanguosha.Core.Players.Player
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( Prompt prompt ) : string
prompt Sanguosha.Core.UI.Prompt
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( Role role ) : string
role Role
리턴 string

Translate() 공개 정적인 메소드

public static Translate ( SuitType suitType ) : string
suitType SuitType
리턴 string

TranslateCardFootnote() 공개 정적인 메소드

public static TranslateCardFootnote ( ActionLog log ) : string
log Sanguosha.Core.UI.ActionLog
리턴 string

TranslateLogEvent() 공개 정적인 메소드

public static TranslateLogEvent ( Prompt custom, bool useUICard = true ) : IList
custom Sanguosha.Core.UI.Prompt
useUICard bool
리턴 IList