C# Class Codebreak.Service.World.Game.Entity.CharacterEntity

Inheritance: Codebreak.Service.World.Game.Fight.AbstractFighter, IDisposable
Show file Open project: hussein-aitlahcen/codebreak Class Usage Examples

Protected Properties

Property Type Description
m_guildDisplayInfos string
m_lastEmoteId int
m_lastRegenTime long
m_mount MountEntity
m_regenTimer double

Public Methods

Method Description
AbortAction ( GameActionTypeEnum actionType ) : void

AddDishonour ( int value ) : void

AddExperience ( long experience ) : void

AddHonour ( int value ) : void

CanBeExchanged ( ExchangeTypeEnum exchangeType ) : bool

ChallengePlayer ( CharacterEntity player ) : void

CharacterEntity ( AccountTicket account, CharacterDAO characterDAO, EntityTypeEnum type = EntityTypeEnum.TYPE_CHARACTER ) : System

CheckRestrictions ( ) : void

CraftStart ( CraftPlan plan, JobSkill skill ) : void

DefendTaxCollector ( ) : void

DisableAlignment ( bool force = false ) : bool

Disconnected ( ) : bool

DispatchChatMessage ( ChatChannelEnum channel, string message, CharacterEntity whispedCharacter = null ) : bool

DispatchGuildMessage ( string message ) : void

DispatchPartyMessage ( string message ) : void

Dispose ( ) : void

EmoteUse ( int emoteId, int timeout = 360000 ) : void

EnableAlignment ( ) : void

EndFight ( bool win = false ) : void

EndTurn ( ) : FightActionResultEnum

ExchangeAuctionHouseBuy ( NonPlayerCharacterEntity entity ) : void

ExchangeAuctionHouseSell ( NonPlayerCharacterEntity entity ) : void

ExchangeMerchant ( MerchantEntity merchant ) : void

ExchangeNpc ( NonPlayerCharacterEntity npc ) : void

ExchangePaddock ( Paddock paddock ) : void

ExchangePersonalShop ( ) : void

ExchangePlayer ( CharacterEntity player ) : void

ExchangeShop ( NonPlayerCharacterEntity entity ) : void

ExchangeStorage ( StorageInventory storage ) : void

ExchangeTaxCollector ( TaxCollectorEntity taxCollector ) : void

FreeSoul ( ) : void

GuildCreationOpen ( ) : void

HardResetSpells ( ) : void

HarvestStart ( HarvestableResource resource, int duration ) : void

HasEnnemy ( string pseudo ) : bool

HasFriend ( string pseudo ) : bool

HasSkill ( SkillIdEnum id ) : bool

HasSkill ( int id ) : bool

JoinFight ( AbstractFight fight, FightTeam team ) : void

JoinSpectator ( AbstractFight fight ) : void

LevelUp ( ) : void

LoseEnergy ( ) : void

MountRideUnride ( ) : void

NpcDialogStart ( NonPlayerCharacterEntity npc ) : void

OnLoseFight ( DeathTypeEnum type ) : void

Reborn ( ) : void

RefreshOnMap ( ) : void

RefreshPersonalShopTaxe ( ) : void

ResetAlignment ( int alignmentId ) : void

SafeKick ( string kicker = "", string reason = "" ) : void

SendAccountStats ( ) : void

SendMountEquipped ( ) : void

SendMountXpShare ( ) : void
SendQuestsList ( ) : void

SendQuestsStepsList ( int questId ) : void

SerializeAs_EnnemyInformations ( string playerPseudo, StringBuilder message ) : void

SerializeAs_FriendInformations ( string playerPseudo, StringBuilder message ) : void

SerializeAs_GameMapInformations ( OperatorEnum operation, StringBuilder message ) : void

SerializeAs_PartyMemberInformations ( StringBuilder message ) : void

ServerKick ( string reason = "" ) : void

SetAlignment ( int alignmentId ) : void

SetAway ( ) : void

SetCharacterGuild ( GuildMember characterGuild ) : void

StartAction ( GameActionTypeEnum actionType ) : void

StartRegeneration ( double timer ) : void

StopAction ( GameActionTypeEnum actionType ) : void

StopEmote ( ) : void

StopRegeneration ( ) : void

SubstractDishonour ( int value ) : void

SubstractHonour ( int value ) : void

WaypointStart ( Waypoint waypoint ) : void

Private Methods

Method Description
LoadEquippedMount ( ) : void

Method Details

AbortAction() public method

public AbortAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
return void

AddDishonour() public method

public AddDishonour ( int value ) : void
value int
return void

AddExperience() public method

public AddExperience ( long experience ) : void
experience long
return void

AddHonour() public method

public AddHonour ( int value ) : void
value int
return void

CanBeExchanged() public method

public CanBeExchanged ( ExchangeTypeEnum exchangeType ) : bool
exchangeType ExchangeTypeEnum
return bool

ChallengePlayer() public method

public ChallengePlayer ( CharacterEntity player ) : void
player CharacterEntity
return void

CharacterEntity() public method

public CharacterEntity ( AccountTicket account, CharacterDAO characterDAO, EntityTypeEnum type = EntityTypeEnum.TYPE_CHARACTER ) : System
account AccountTicket
characterDAO CharacterDAO
type EntityTypeEnum
return System

CheckRestrictions() public method

public CheckRestrictions ( ) : void
return void

CraftStart() public method

public CraftStart ( CraftPlan plan, JobSkill skill ) : void
plan Codebreak.Service.World.Game.Interactive.Type.CraftPlan
skill Codebreak.Service.World.Game.Job.JobSkill
return void

DefendTaxCollector() public method

public DefendTaxCollector ( ) : void
return void

DisableAlignment() public method

public DisableAlignment ( bool force = false ) : bool
force bool
return bool

Disconnected() public method

public Disconnected ( ) : bool
return bool

DispatchChatMessage() public method

public DispatchChatMessage ( ChatChannelEnum channel, string message, CharacterEntity whispedCharacter = null ) : bool
channel ChatChannelEnum
message string
whispedCharacter CharacterEntity
return bool

DispatchGuildMessage() public method

public DispatchGuildMessage ( string message ) : void
message string
return void

DispatchPartyMessage() public method

public DispatchPartyMessage ( string message ) : void
message string
return void

Dispose() public method

public Dispose ( ) : void
return void

EmoteUse() public method

public EmoteUse ( int emoteId, int timeout = 360000 ) : void
emoteId int
timeout int
return void

EnableAlignment() public method

public EnableAlignment ( ) : void
return void

EndFight() public method

public EndFight ( bool win = false ) : void
win bool
return void

EndTurn() public method

public EndTurn ( ) : FightActionResultEnum
return FightActionResultEnum

ExchangeAuctionHouseBuy() public method

public ExchangeAuctionHouseBuy ( NonPlayerCharacterEntity entity ) : void
entity NonPlayerCharacterEntity
return void

ExchangeAuctionHouseSell() public method

public ExchangeAuctionHouseSell ( NonPlayerCharacterEntity entity ) : void
entity NonPlayerCharacterEntity
return void

ExchangeMerchant() public method

public ExchangeMerchant ( MerchantEntity merchant ) : void
merchant MerchantEntity
return void

ExchangeNpc() public method

public ExchangeNpc ( NonPlayerCharacterEntity npc ) : void
npc NonPlayerCharacterEntity
return void

ExchangePaddock() public method

public ExchangePaddock ( Paddock paddock ) : void
paddock Codebreak.Service.World.Game.Mount.Paddock
return void

ExchangePersonalShop() public method

public ExchangePersonalShop ( ) : void
return void

ExchangePlayer() public method

public ExchangePlayer ( CharacterEntity player ) : void
player CharacterEntity
return void

ExchangeShop() public method

public ExchangeShop ( NonPlayerCharacterEntity entity ) : void
entity NonPlayerCharacterEntity
return void

ExchangeStorage() public method

public ExchangeStorage ( StorageInventory storage ) : void
storage Codebreak.Service.World.Game.Entity.Inventory.StorageInventory
return void

ExchangeTaxCollector() public method

public ExchangeTaxCollector ( TaxCollectorEntity taxCollector ) : void
taxCollector TaxCollectorEntity
return void

FreeSoul() public method

public FreeSoul ( ) : void
return void

GuildCreationOpen() public method

public GuildCreationOpen ( ) : void
return void

HardResetSpells() public method

public HardResetSpells ( ) : void
return void

HarvestStart() public method

public HarvestStart ( HarvestableResource resource, int duration ) : void
resource HarvestableResource
duration int
return void

HasEnnemy() public method

public HasEnnemy ( string pseudo ) : bool
pseudo string
return bool

HasFriend() public method

public HasFriend ( string pseudo ) : bool
pseudo string
return bool

HasSkill() public method

public HasSkill ( SkillIdEnum id ) : bool
id SkillIdEnum
return bool

HasSkill() public method

public HasSkill ( int id ) : bool
id int
return bool

JoinFight() public method

public JoinFight ( AbstractFight fight, FightTeam team ) : void
fight AbstractFight
team FightTeam
return void

JoinSpectator() public method

public JoinSpectator ( AbstractFight fight ) : void
fight AbstractFight
return void

LevelUp() public method

public LevelUp ( ) : void
return void

LoseEnergy() public method

public LoseEnergy ( ) : void
return void

MountRideUnride() public method

public MountRideUnride ( ) : void
return void

NpcDialogStart() public method

public NpcDialogStart ( NonPlayerCharacterEntity npc ) : void
npc NonPlayerCharacterEntity
return void

OnLoseFight() public method

public OnLoseFight ( DeathTypeEnum type ) : void
type DeathTypeEnum
return void

Reborn() public method

public Reborn ( ) : void
return void

RefreshOnMap() public method

public RefreshOnMap ( ) : void
return void

RefreshPersonalShopTaxe() public method

public RefreshPersonalShopTaxe ( ) : void
return void

ResetAlignment() public method

public ResetAlignment ( int alignmentId ) : void
alignmentId int
return void

SafeKick() public method

public SafeKick ( string kicker = "", string reason = "" ) : void
kicker string
reason string
return void

SendAccountStats() public method

public SendAccountStats ( ) : void
return void

SendMountEquipped() public method

public SendMountEquipped ( ) : void
return void

SendMountXpShare() public method

public SendMountXpShare ( ) : void
return void

SendQuestsList() public method

public SendQuestsList ( ) : void
return void

SendQuestsStepsList() public method

public SendQuestsStepsList ( int questId ) : void
questId int
return void

SerializeAs_EnnemyInformations() public method

public SerializeAs_EnnemyInformations ( string playerPseudo, StringBuilder message ) : void
playerPseudo string
message StringBuilder
return void

SerializeAs_FriendInformations() public method

public SerializeAs_FriendInformations ( string playerPseudo, StringBuilder message ) : void
playerPseudo string
message StringBuilder
return void

SerializeAs_GameMapInformations() public method

public SerializeAs_GameMapInformations ( OperatorEnum operation, StringBuilder message ) : void
operation OperatorEnum
message StringBuilder
return void

SerializeAs_PartyMemberInformations() public method

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

ServerKick() public method

public ServerKick ( string reason = "" ) : void
reason string
return void

SetAlignment() public method

public SetAlignment ( int alignmentId ) : void
alignmentId int
return void

SetAway() public method

public SetAway ( ) : void
return void

SetCharacterGuild() public method

public SetCharacterGuild ( GuildMember characterGuild ) : void
characterGuild GuildMember
return void

StartAction() public method

public StartAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
return void

StartRegeneration() public method

public StartRegeneration ( double timer ) : void
timer double
return void

StopAction() public method

public StopAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
return void

StopEmote() public method

public StopEmote ( ) : void
return void

StopRegeneration() public method

public StopRegeneration ( ) : void
return void

SubstractDishonour() public method

public SubstractDishonour ( int value ) : void
value int
return void

SubstractHonour() public method

public SubstractHonour ( int value ) : void
value int
return void

WaypointStart() public method

public WaypointStart ( Waypoint waypoint ) : void
waypoint Waypoint
return void

Property Details

m_guildDisplayInfos protected property

protected string m_guildDisplayInfos
return string

m_lastEmoteId protected property

protected int m_lastEmoteId
return int

m_lastRegenTime protected property

protected long m_lastRegenTime
return long

m_mount protected property

protected MountEntity m_mount
return MountEntity

m_regenTimer protected property

protected double m_regenTimer
return double