C# 클래스 Codebreak.Service.World.Game.Fight.AbstractFighter

상속: Codebreak.Service.World.Game.Entity.AbstractEntity, IFightObstacle
파일 보기 프로젝트 열기: hussein-aitlahcen/codebreak 1 사용 예제들

공개 메소드들

메소드 설명
AbortAction ( GameActionTypeEnum actionType ) : void

BeginTurn ( ) : FightActionResultEnum

CalculArmor ( EffectEnum damageEffect ) : int

CalculCriticalHitRate ( int &cHitRate ) : void

CalculDamages ( EffectEnum effect, int &jet ) : void

CalculDodgeAPMP ( AbstractFighter caster, int lostPoint, bool mp = false ) : int

CalculHeal ( int &heal ) : void

CalculReduceDamages ( EffectEnum effect, int &damages ) : void

CompareTo ( IFightObstacle obj ) : int

Dispose ( ) : void

EndFight ( bool win = false ) : void

EndTurn ( ) : FightActionResultEnum

JoinFight ( AbstractFight fight, FightTeam team ) : void

LaunchSpell ( int cellId, int spellId, int spellLevel, string sprite, string spriteInfos, long duration, System callback ) : void

MiddleTurn ( ) : FightActionResultEnum

Move ( MovementPath path ) : void

OnDeath ( AbstractFighter killer ) : void

OnKill ( AbstractFighter target ) : void

SerializeAs_GameMapInformations ( OperatorEnum operation, StringBuilder message ) : void

SetCell ( FightCell cell ) : FightActionResultEnum

StartAction ( GameActionTypeEnum actionType ) : void

UseWeapon ( int cellId, long duration, System callback ) : void

보호된 메소드들

메소드 설명
AbstractFighter ( EntityTypeEnum type, long id, bool staticInvocation = false ) : System

메소드 상세

AbortAction() 공개 메소드

public AbortAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
리턴 void

AbstractFighter() 보호된 메소드

protected AbstractFighter ( EntityTypeEnum type, long id, bool staticInvocation = false ) : System
type EntityTypeEnum
id long
staticInvocation bool
리턴 System

BeginTurn() 공개 메소드

public BeginTurn ( ) : FightActionResultEnum
리턴 FightActionResultEnum

CalculArmor() 공개 메소드

public CalculArmor ( EffectEnum damageEffect ) : int
damageEffect EffectEnum
리턴 int

CalculCriticalHitRate() 공개 메소드

public CalculCriticalHitRate ( int &cHitRate ) : void
cHitRate int
리턴 void

CalculDamages() 공개 메소드

public CalculDamages ( EffectEnum effect, int &jet ) : void
effect EffectEnum
jet int
리턴 void

CalculDodgeAPMP() 공개 메소드

public CalculDodgeAPMP ( AbstractFighter caster, int lostPoint, bool mp = false ) : int
caster AbstractFighter
lostPoint int
mp bool
리턴 int

CalculHeal() 공개 메소드

public CalculHeal ( int &heal ) : void
heal int
리턴 void

CalculReduceDamages() 공개 메소드

public CalculReduceDamages ( EffectEnum effect, int &damages ) : void
effect EffectEnum
damages int
리턴 void

CompareTo() 공개 메소드

public CompareTo ( IFightObstacle obj ) : int
obj IFightObstacle
리턴 int

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EndFight() 공개 메소드

public EndFight ( bool win = false ) : void
win bool
리턴 void

EndTurn() 공개 메소드

public EndTurn ( ) : FightActionResultEnum
리턴 FightActionResultEnum

JoinFight() 공개 메소드

public JoinFight ( AbstractFight fight, FightTeam team ) : void
fight AbstractFight
team FightTeam
리턴 void

LaunchSpell() 공개 메소드

public LaunchSpell ( int cellId, int spellId, int spellLevel, string sprite, string spriteInfos, long duration, System callback ) : void
cellId int
spellId int
spellLevel int
sprite string
spriteInfos string
duration long
callback System
리턴 void

MiddleTurn() 공개 메소드

public MiddleTurn ( ) : FightActionResultEnum
리턴 FightActionResultEnum

Move() 공개 메소드

public Move ( MovementPath path ) : void
path MovementPath
리턴 void

OnDeath() 공개 메소드

public OnDeath ( AbstractFighter killer ) : void
killer AbstractFighter
리턴 void

OnKill() 공개 메소드

public OnKill ( AbstractFighter target ) : void
target AbstractFighter
리턴 void

SerializeAs_GameMapInformations() 공개 추상적인 메소드

public abstract SerializeAs_GameMapInformations ( OperatorEnum operation, StringBuilder message ) : void
operation OperatorEnum
message StringBuilder
리턴 void

SetCell() 공개 메소드

public SetCell ( FightCell cell ) : FightActionResultEnum
cell FightCell
리턴 FightActionResultEnum

StartAction() 공개 메소드

public StartAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
리턴 void

UseWeapon() 공개 메소드

public UseWeapon ( int cellId, long duration, System callback ) : void
cellId int
duration long
callback System
리턴 void