C# Class Sanguosha.Core.Players.Player

Inheritance: INotifyPropertyChanged
ファイルを表示 Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Properties

Property Type Description
AttackRange Sanguosha.Core.Players.PlayerAttribute
Awakened Sanguosha.Core.Players.PlayerAttribute
DealAdjustment Sanguosha.Core.Players.PlayerAttribute
DisconnectedStatus Sanguosha.Core.Players.PlayerAttribute
IsDying Sanguosha.Core.Players.PlayerAttribute
RangeMinus Sanguosha.Core.Players.PlayerAttribute
RangePlus Sanguosha.Core.Players.PlayerAttribute
SkipDeathComputation Sanguosha.Core.Players.PlayerAttribute

Private Properties

Property Type Description
SetHero void

Public Methods

Method Description
AcquireAdditionalSkill ( ISkill skill, Sanguosha.Core.Heroes.Hero tag, bool undeletable = false ) : void
AcquireEquipmentSkill ( ISkill skill ) : void
LoseAdditionalSkill ( ISkill skill, bool undeletable = false ) : void
LoseAllHeroSkills ( Sanguosha.Core.Heroes.Hero h ) : void
LoseAllHerosSkills ( ) : void
LoseEquipmentSkill ( ISkill skill ) : void
LoseHeroSkill ( ISkill skill, Sanguosha.Core.Heroes.Hero heroTag ) : ISkill
LoseHeroSkill ( string skillName, Sanguosha.Core.Heroes.Hero heroTag ) : ISkill
Player ( ) : System
this ( Sanguosha.Core.Players.PlayerAttribute key ) : int

Protected Methods

Method Description
OnPropertyChanged ( string name ) : void

Private Methods

Method Description
SetHero ( Sanguosha.Core.Heroes.Hero &hero, Sanguosha.Core.Heroes.Hero value ) : void

Method Details

AcquireAdditionalSkill() public method

public AcquireAdditionalSkill ( ISkill skill, Sanguosha.Core.Heroes.Hero tag, bool undeletable = false ) : void
skill ISkill
tag Sanguosha.Core.Heroes.Hero
undeletable bool
return void

AcquireEquipmentSkill() public method

public AcquireEquipmentSkill ( ISkill skill ) : void
skill ISkill
return void

LoseAdditionalSkill() public method

public LoseAdditionalSkill ( ISkill skill, bool undeletable = false ) : void
skill ISkill
undeletable bool
return void

LoseAllHeroSkills() public method

public LoseAllHeroSkills ( Sanguosha.Core.Heroes.Hero h ) : void
h Sanguosha.Core.Heroes.Hero
return void

LoseAllHerosSkills() public method

public LoseAllHerosSkills ( ) : void
return void

LoseEquipmentSkill() public method

public LoseEquipmentSkill ( ISkill skill ) : void
skill ISkill
return void

LoseHeroSkill() public method

public LoseHeroSkill ( ISkill skill, Sanguosha.Core.Heroes.Hero heroTag ) : ISkill
skill ISkill
heroTag Sanguosha.Core.Heroes.Hero
return ISkill

LoseHeroSkill() public method

public LoseHeroSkill ( string skillName, Sanguosha.Core.Heroes.Hero heroTag ) : ISkill
skillName string
heroTag Sanguosha.Core.Heroes.Hero
return ISkill

OnPropertyChanged() protected method

protected OnPropertyChanged ( string name ) : void
name string
return void

Player() public method

public Player ( ) : System
return System

this() public method

public this ( Sanguosha.Core.Players.PlayerAttribute key ) : int
key Sanguosha.Core.Players.PlayerAttribute
return int

Property Details

AttackRange public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players AttackRange
return Sanguosha.Core.Players.PlayerAttribute

Awakened public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players Awakened
return Sanguosha.Core.Players.PlayerAttribute

DealAdjustment public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players DealAdjustment
return Sanguosha.Core.Players.PlayerAttribute

DisconnectedStatus public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players DisconnectedStatus
return Sanguosha.Core.Players.PlayerAttribute

IsDying public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players IsDying
return Sanguosha.Core.Players.PlayerAttribute

RangeMinus public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players RangeMinus
return Sanguosha.Core.Players.PlayerAttribute

RangePlus public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players RangePlus
return Sanguosha.Core.Players.PlayerAttribute

SkipDeathComputation public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players SkipDeathComputation
return Sanguosha.Core.Players.PlayerAttribute