C# Class Codebreak.Service.World.Game.Fight.ChallengerFight

Inheritance: AbstractFight, IDisposable
显示文件 Open project: hussein-aitlahcen/codebreak

Public Methods

Method Description
CanJoin ( CharacterEntity character ) : bool

ChallengerFight ( MapInstance map, long id, CharacterEntity attacker, CharacterEntity defender ) : System

Dispose ( ) : void

FightQuit ( CharacterEntity character, bool kick = false ) : FightActionResultEnum

SerializeAs_FightFlag ( StringBuilder message ) : void

SerializeAs_FightList ( StringBuilder message ) : void

Method Details

CanJoin() public method

public CanJoin ( CharacterEntity character ) : bool
character Codebreak.Service.World.Game.Entity.CharacterEntity
return bool

ChallengerFight() public method

public ChallengerFight ( MapInstance map, long id, CharacterEntity attacker, CharacterEntity defender ) : System
map Codebreak.Service.World.Game.Map.MapInstance
id long
attacker Codebreak.Service.World.Game.Entity.CharacterEntity
defender Codebreak.Service.World.Game.Entity.CharacterEntity
return System

Dispose() public method

public Dispose ( ) : void
return void

FightQuit() public method

public FightQuit ( CharacterEntity character, bool kick = false ) : FightActionResultEnum
character Codebreak.Service.World.Game.Entity.CharacterEntity
kick bool
return FightActionResultEnum

SerializeAs_FightFlag() public method

public SerializeAs_FightFlag ( StringBuilder message ) : void
message StringBuilder
return void

SerializeAs_FightList() public method

public SerializeAs_FightList ( StringBuilder message ) : void
message StringBuilder
return void