Cronous Emulation Server Daemon

Character Members

Character overview

Public Instance Constructors

Character ConstructorInitializes a character.

Public Instance Properties

accuracy 
add_fire 
add_lightning 
add_poison 
add_water 
areaGets character's area.
attack_max 
attack_min 
character_classCharacter class.
critical 
deadDeath status.
defense 
dodge 
first_entrySpecifies whether the character has just entered an area.
fovField of view.
game_serverThe game server.
hpHP.
hp_max 
idGets character ID.
map_engineCurrent map engine.
mpMP.
mp_max 
nameGets the name.
new_areaGets or sets character's new area.
new_positionGets or sets character's new position.
positionGets character's position.
status_flagStatus flags.
viewing_charactersGets currently visible characters
vs_fire 
vs_lightning 
vs_poison 
vs_water 

Public Instance Methods

add_status_flagOverloaded. Adds a character flag.
appearReports a character appearing in FOV.
change_areaChanges area.
dieMakes the character die.
disappearReports a character disappearing from FOV.
dispatch_player_viewersOverloaded. Dispatches packets to all player characters in FOV.
enter_areaEnters the new area (initial entry).
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
has_status_flagOverloaded. Checks whether a character has a specified status flag.
leave_areaLeaves completely the current area.
make_character_deathMakes a CharacterDeath packet.
make_character_entryMakes a CharacterEntry packet.
make_character_exitMakes a CharacterExit packet.
make_character_healthMakes a CharacterHealth packet.
make_character_positionMakes a CharacterPosition packet.
make_character_profileMakes a CharacterProfile packet.
make_healthMakes a Health packet.
make_manaMakes a Mana packet.
make_skill_usingMakes a SkillUsing packet.
make_status_flagMakes a StatusFlag packet.
plan_attack Calculates the damage of an attack, according to character's offensive parameters.
prevent_attack Modifies the damage of an attack according to character's defensive parameters. Applies the damages.
receive_attackDo some actions on damage reception.
refreshRefreshes status, skills.
remove_status_flagOverloaded. Removes a character flag.
reportReports any changes.
report_character_fovReports changes of characters in FOV.
report_deathReports death to viewing characters.
report_movementsReports movements.
send_profileSends this character's profile to a player character.
ToString (inherited from Object) Returns a String that represents the current Object.
update_motionsChecks character positions.
update_warpsChecks character warps.
use_skillUses a skill.

Protected Instance Fields

_accuracy 
_add_fire 
_add_lightning 
_add_poison 
_add_water 
_areaCharacter's area.
_attack_max 
_attack_min 
_character_classCharacter class.
_critical 
_deadDeath status.
_defense 
_dodge 
_first_entrySpecifies whether the character has just entered an area.
_fovField of view.
_game_serverThe game server.
_hpHP.
_hp_max 
_idCharacter ID.
_map_engineCurrent map engine.
_mpMP.
_mp_max 
_nameName.
_new_areaCharacter's new area.
_new_positionCharacter's new position.
_positionCharacter's position.
_status_flagStatus flags.
_viewing_charactersCurrently visible characters
_vs_fire 
_vs_lightning 
_vs_poison 
_vs_water 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
process_appearing_characterProcesses an appearing character.
process_disappearing_characterProcesses a disappearing character.

See Also

Character Class | croemud.character Namespace