C# Class Sanguosha.UI.Controls.PlayerView

Interaction logic for PlayerInfoView.xaml
Inheritance: PlayerViewBase
Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

Méthode Description
Chat ( System.Windows.Documents.Paragraph msg ) : void
OnIronShackled ( ) : void
PlayAnimation ( AnimationBase animation, int playCenter, Point offset ) : void
PlayIronShackleAnimation ( ) : void
PlayerView ( ) : System
PlayerView_FlowDirectionChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Tremble ( ) : void
Update ( ) : void
UpdateCardAreas ( ) : void
UpdateImpersonateStatus ( bool isPrimaryHero ) : void

Méthodes protégées

Méthode Description
AddDelayedTool ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
AddEquipment ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
AddHandCards ( IList cards, bool isFaked ) : void
AddPrivateCards ( IList cards, bool isFaked ) : void
AddRoleCard ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
RemoveDelayedTool ( Sanguosha.Core.Cards.Card card, bool isCopy ) : Sanguosha.UI.Controls.CardView
RemoveEquipment ( Sanguosha.Core.Cards.Card card, bool isCopy ) : Sanguosha.UI.Controls.CardView
RemoveHandCards ( IList cards, bool isCopy ) : IList
RemovePrivateCards ( IList cards ) : IEnumerable
RemoveRoleCard ( Sanguosha.Core.Cards.Card card ) : Sanguosha.UI.Controls.CardView

Private Methods

Méthode Description
PlayerInfoView_DataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PlayerView_Unloaded ( object sender, RoutedEventArgs e ) : void
UpdateCards ( ) : void
btnSpectate_Click ( object sender, System e ) : void
mainArea_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
mainArea_MouseRightButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
model_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

AddDelayedTool() protected méthode

protected AddDelayedTool ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
card Sanguosha.UI.Controls.CardView
isFaked bool
Résultat void

AddEquipment() protected méthode

protected AddEquipment ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
card Sanguosha.UI.Controls.CardView
isFaked bool
Résultat void

AddHandCards() protected méthode

protected AddHandCards ( IList cards, bool isFaked ) : void
cards IList
isFaked bool
Résultat void

AddPrivateCards() protected méthode

protected AddPrivateCards ( IList cards, bool isFaked ) : void
cards IList
isFaked bool
Résultat void

AddRoleCard() protected méthode

protected AddRoleCard ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
card Sanguosha.UI.Controls.CardView
isFaked bool
Résultat void

Chat() public méthode

public Chat ( System.Windows.Documents.Paragraph msg ) : void
msg System.Windows.Documents.Paragraph
Résultat void

OnIronShackled() public méthode

public OnIronShackled ( ) : void
Résultat void

PlayAnimation() public méthode

public PlayAnimation ( AnimationBase animation, int playCenter, Point offset ) : void
animation Sanguosha.UI.Animations.AnimationBase
playCenter int
offset Point
Résultat void

PlayIronShackleAnimation() public méthode

public PlayIronShackleAnimation ( ) : void
Résultat void

PlayerView() public méthode

public PlayerView ( ) : System
Résultat System

PlayerView_FlowDirectionChanged() public static méthode

public static PlayerView_FlowDirectionChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

RemoveDelayedTool() protected méthode

protected RemoveDelayedTool ( Sanguosha.Core.Cards.Card card, bool isCopy ) : Sanguosha.UI.Controls.CardView
card Sanguosha.Core.Cards.Card
isCopy bool
Résultat Sanguosha.UI.Controls.CardView

RemoveEquipment() protected méthode

protected RemoveEquipment ( Sanguosha.Core.Cards.Card card, bool isCopy ) : Sanguosha.UI.Controls.CardView
card Sanguosha.Core.Cards.Card
isCopy bool
Résultat Sanguosha.UI.Controls.CardView

RemoveHandCards() protected méthode

protected RemoveHandCards ( IList cards, bool isCopy ) : IList
cards IList
isCopy bool
Résultat IList

RemovePrivateCards() protected méthode

protected RemovePrivateCards ( IList cards ) : IEnumerable
cards IList
Résultat IEnumerable

RemoveRoleCard() protected méthode

protected RemoveRoleCard ( Sanguosha.Core.Cards.Card card ) : Sanguosha.UI.Controls.CardView
card Sanguosha.Core.Cards.Card
Résultat Sanguosha.UI.Controls.CardView

Tremble() public méthode

public Tremble ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateCardAreas() public méthode

public UpdateCardAreas ( ) : void
Résultat void

UpdateImpersonateStatus() public méthode

public UpdateImpersonateStatus ( bool isPrimaryHero ) : void
isPrimaryHero bool
Résultat void