C# Class WindBot.Game.ClientCard

Exibir arquivo Open project: SalvationDevelopment/windbot Class Usage Examples

Public Methods

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

public ClientCard ( int id, CardLocation loc ) : System.Collections.Generic
id int
loc CardLocation
return System.Collections.Generic

ClientCard() public method

public ClientCard ( int id, CardLocation loc, int position ) : System.Collections.Generic
id int
loc CardLocation
position int
return System.Collections.Generic

Equals() public method

public Equals ( ClientCard card ) : bool
card ClientCard
return bool

GetDefensePower() public method

public GetDefensePower ( ) : int
return int

HasAttribute() public method

public HasAttribute ( CardAttribute attribute ) : bool
attribute CardAttribute
return bool

HasPosition() public method

public HasPosition ( CardPosition position ) : bool
position CardPosition
return bool

HasType() public method

public HasType ( CardType type ) : bool
type CardType
return bool

IsAttack() public method

public IsAttack ( ) : bool
return bool

IsDefense() public method

public IsDefense ( ) : bool
return bool

IsExtraCard() public method

public IsExtraCard ( ) : bool
return bool

IsFacedown() public method

public IsFacedown ( ) : bool
return bool

IsMonster() public method

public IsMonster ( ) : bool
return bool

IsSpell() public method

public IsSpell ( ) : bool
return bool

IsTrap() public method

public IsTrap ( ) : bool
return bool

SetId() public method

public SetId ( int id ) : void
id int
return void

Update() public method

public Update ( BinaryReader packet, Duel duel ) : void
packet BinaryReader
duel Duel
return void