C# Class Sanguosha.UI.Controls.MainPlayerView

Interaction logic for MainPlayerInfoView.xaml
Inheritance: PlayerViewBase
Afficher le fichier Open project: RagingBigFemaleBird/sgs

Private Properties

Свойство Type Description
HeroPhoto_MouseLeftButtonDown void
HeroPhoto_MouseRightButtonDown void
MainPlayerView_Unloaded void
PlayerInfoView_DataContextChanged void
SetAnimationCenter void
UpdateCards void
handCardArea_OnHandCardMoved void
model_PropertyChanged void
trustButton_Click void
untrustButton_Click void

Méthodes publiques

Méthode Description
MainPlayerView ( ) : System
OnIronShackled ( ) : void
PlayAnimation ( AnimationBase animation, int playCenter, Point offset ) : void
PlayIronShackleAnimation ( ) : 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
HeroPhoto_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
HeroPhoto_MouseRightButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
MainPlayerView_Unloaded ( object sender, RoutedEventArgs e ) : void
PlayerInfoView_DataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetAnimationCenter ( System.Windows.Controls.Canvas canvas ) : void
UpdateCards ( ) : void
handCardArea_OnHandCardMoved ( int oldPlace, int newPlace ) : void
model_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
trustButton_Click ( object sender, RoutedEventArgs e ) : void
untrustButton_Click ( object sender, RoutedEventArgs 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

MainPlayerView() public méthode

public MainPlayerView ( ) : System
Résultat System

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

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

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