C# Class WindBot.Game.ClientCard

Afficher le fichier Open project: SalvationDevelopment/windbot Class Usage Examples

Méthodes publiques

Méthode Description
ClientCard ( int id, CardLocation loc ) : System.Collections.Generic
ClientCard ( int id, CardLocation loc, int position ) : System.Collections.Generic
Equals ( ClientCard card ) : bool
GetDefensePower ( ) : int
HasAttribute ( CardAttribute attribute ) : bool
HasPosition ( CardPosition position ) : bool
HasType ( CardType type ) : bool
IsAttack ( ) : bool
IsDefense ( ) : bool
IsExtraCard ( ) : bool
IsFacedown ( ) : bool
IsMonster ( ) : bool
IsSpell ( ) : bool
IsTrap ( ) : bool
SetId ( int id ) : void
Update ( BinaryReader packet, Duel duel ) : void

Method Details

ClientCard() public méthode

public ClientCard ( int id, CardLocation loc ) : System.Collections.Generic
id int
loc CardLocation
Résultat System.Collections.Generic

ClientCard() public méthode

public ClientCard ( int id, CardLocation loc, int position ) : System.Collections.Generic
id int
loc CardLocation
position int
Résultat System.Collections.Generic

Equals() public méthode

public Equals ( ClientCard card ) : bool
card ClientCard
Résultat bool

GetDefensePower() public méthode

public GetDefensePower ( ) : int
Résultat int

HasAttribute() public méthode

public HasAttribute ( CardAttribute attribute ) : bool
attribute CardAttribute
Résultat bool

HasPosition() public méthode

public HasPosition ( CardPosition position ) : bool
position CardPosition
Résultat bool

HasType() public méthode

public HasType ( CardType type ) : bool
type CardType
Résultat bool

IsAttack() public méthode

public IsAttack ( ) : bool
Résultat bool

IsDefense() public méthode

public IsDefense ( ) : bool
Résultat bool

IsExtraCard() public méthode

public IsExtraCard ( ) : bool
Résultat bool

IsFacedown() public méthode

public IsFacedown ( ) : bool
Résultat bool

IsMonster() public méthode

public IsMonster ( ) : bool
Résultat bool

IsSpell() public méthode

public IsSpell ( ) : bool
Résultat bool

IsTrap() public méthode

public IsTrap ( ) : bool
Résultat bool

SetId() public méthode

public SetId ( int id ) : void
id int
Résultat void

Update() public méthode

public Update ( BinaryReader packet, Duel duel ) : void
packet BinaryReader
duel Duel
Résultat void