C# Class Sanguosha.UI.Controls.PlayerView

Interaction logic for PlayerInfoView.xaml
Inheritance: PlayerViewBase
ファイルを表示 Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

protected AddDelayedTool ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
card Sanguosha.UI.Controls.CardView
isFaked bool
return void

AddEquipment() protected method

protected AddEquipment ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
card Sanguosha.UI.Controls.CardView
isFaked bool
return void

AddHandCards() protected method

protected AddHandCards ( IList cards, bool isFaked ) : void
cards IList
isFaked bool
return void

AddPrivateCards() protected method

protected AddPrivateCards ( IList cards, bool isFaked ) : void
cards IList
isFaked bool
return void

AddRoleCard() protected method

protected AddRoleCard ( Sanguosha.UI.Controls.CardView card, bool isFaked ) : void
card Sanguosha.UI.Controls.CardView
isFaked bool
return void

Chat() public method

public Chat ( System.Windows.Documents.Paragraph msg ) : void
msg System.Windows.Documents.Paragraph
return void

OnIronShackled() public method

public OnIronShackled ( ) : void
return void

PlayAnimation() public method

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

PlayIronShackleAnimation() public method

public PlayIronShackleAnimation ( ) : void
return void

PlayerView() public method

public PlayerView ( ) : System
return System

PlayerView_FlowDirectionChanged() public static method

public static PlayerView_FlowDirectionChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object
e System.Windows.DependencyPropertyChangedEventArgs
return void

RemoveDelayedTool() protected method

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

RemoveEquipment() protected method

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

RemoveHandCards() protected method

protected RemoveHandCards ( IList cards, bool isCopy ) : IList
cards IList
isCopy bool
return IList

RemovePrivateCards() protected method

protected RemovePrivateCards ( IList cards ) : IEnumerable
cards IList
return IEnumerable

RemoveRoleCard() protected method

protected RemoveRoleCard ( Sanguosha.Core.Cards.Card card ) : Sanguosha.UI.Controls.CardView
card Sanguosha.Core.Cards.Card
return Sanguosha.UI.Controls.CardView

Tremble() public method

public Tremble ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateCardAreas() public method

public UpdateCardAreas ( ) : void
return void

UpdateImpersonateStatus() public method

public UpdateImpersonateStatus ( bool isPrimaryHero ) : void
isPrimaryHero bool
return void