Cronous Emulation Server Daemon

PlayerCharacter Members

PlayerCharacter overview

Public Static (Shared) Fields

MAX_CANCEL_DAMAGE 
MAX_CRITICAL_RATE 
MAX_VS_ELEMENT 

Public Instance Constructors

PlayerCharacter ConstructorInitializes a player character.

Public Instance Properties

accuracy (inherited from Character) 
add_fire (inherited from Character) 
add_lightning (inherited from Character) 
add_poison (inherited from Character) 
add_water (inherited from Character) 
area (inherited from Character)Gets character's area.
attack_max (inherited from Character) 
attack_min (inherited from Character) 
auctionAuction chat content.
character_class (inherited from Character)Character class.
class_dataGets character's class data.
critical (inherited from Character) 
dead (inherited from Character)Death status.
defense (inherited from Character) 
dodge (inherited from Character) 
first_entry (inherited from Character)Specifies whether the character has just entered an area.
fov (inherited from Character)Field of view.
game_server (inherited from Character)The game server.
hp (inherited from Character)HP.
hp_max (inherited from Character) 
id (inherited from Character)Gets character ID.
map_engine (inherited from Character)Current map engine.
mp (inherited from Character)MP.
mp_max (inherited from Character) 
name (inherited from Character)Gets the name.
new_area (inherited from Character)Gets or sets character's new area.
new_position (inherited from Character)Gets or sets character's new position.
playerPlayer controlling this character.
position (inherited from Character)Gets character's position.
status_flag (inherited from Character)Status flags.
viewing_characters (inherited from Character)Gets currently visible characters
viewing_itemsGets currently visible items
viewing_player_charactersCurrently visible player characters.
vs_fire (inherited from Character) 
vs_lightning (inherited from Character) 
vs_poison (inherited from Character) 
vs_water (inherited from Character) 

Public Instance Methods

add_status_flag (inherited from Character)Overloaded. Adds a character flag.
appearOverloaded. Reports a character appearing in FOV.
change_areaChanges area.
dieMakes the character die.
disappearOverloaded. Reports a character disappearing from FOV.
dispatch_player_viewersOverloaded. Dispatches packets to all player characters in FOV.
dispatch_player_viewers (inherited from Character)Overloaded. Dispatches packets to all player characters in FOV.
enter_areaEnters the new area.
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_flag (inherited from Character)Overloaded. Checks whether a character has a specified status flag.
leave_areaLeaves the current area.
loadLoads the character.
make_character_death (inherited from Character)Makes a CharacterDeath packet.
make_character_entry (inherited from Character)Makes a CharacterEntry packet.
make_character_exit (inherited from Character)Makes a CharacterExit packet.
make_character_final_statusMakes a CharacterFinalStatus packet.
make_character_health (inherited from Character)Makes a CharacterHealth packet.
make_character_position (inherited from Character)Makes a CharacterPosition packet.
make_character_profileMakes a CharacterProfile packet.
make_health (inherited from Character)Makes a Health packet.
make_mana (inherited from Character)Makes a Mana packet.
make_skill_usingMakes a SkillUsing packet.
make_status_flag (inherited from Character)Makes a StatusFlag packet.
plan_attack (inherited from Character) Calculates the damage of an attack, according to character's offensive parameters.
prevent_attack (inherited from Character) Modifies the damage of an attack according to character's defensive parameters. Applies the damages.
process_appearing_itemProcesses an appearing item.
process_disappearing_itemProcesses a disappearing item.
receive_attackDo some actions on damage reception.
refreshRefreshes status, skills.
remove_status_flag (inherited from Character)Overloaded. Removes a character flag.
report (inherited from Character)Reports any changes.
report_character_fovReports changes of characters in FOV.
report_death (inherited from Character)Reports death to viewing characters.
report_hp_changeChanges current HP and reports it to player(s).
report_movements (inherited from Character)Reports movements.
reviveRevives.
saveSaves the character.
send_profileSends this character's profile to a player character.
ToString (inherited from Object) Returns a String that represents the current Object.
update_motions (inherited from Character)Checks character positions.
update_warps (inherited from Character)Checks character warps.
use_skillUses a skill.

Protected Instance Fields

_absorb_fame 
_absorb_hp 
_absorb_mp 
_accuracy (inherited from Character) 
_add_fire (inherited from Character) 
_add_lightning (inherited from Character) 
_add_poison (inherited from Character) 
_add_water (inherited from Character) 
_appearing_charactersCharacters appearing during the cycle.
_appearing_itemsItems appearing during the cycle.
_area (inherited from Character)Character's area.
_attack_max (inherited from Character) 
_attack_min (inherited from Character) 
_auctionAuction chat content.
_cancel_damage 
_character_class (inherited from Character)Character class.
_class_dataCharacter class data.
_critical (inherited from Character) 
_dead (inherited from Character)Death status.
_defense (inherited from Character) 
_disappearing_charactersCharacters disappearing during the cycle.
_disappearing_itemsItems disappearing during the cycle.
_dodge (inherited from Character) 
_first_entry (inherited from Character)Specifies whether the character has just entered an area.
_fov (inherited from Character)Field of view.
_game_server (inherited from Character)The game server.
_hp (inherited from Character)HP.
_hp_max (inherited from Character) 
_id (inherited from Character)Character ID.
_map_engine (inherited from Character)Current map engine.
_mp (inherited from Character)MP.
_mp_max (inherited from Character) 
_name (inherited from Character)Name.
_new_area (inherited from Character)Character's new area.
_new_position (inherited from Character)Character's new position.
_playerPlayer controlling this character.
_position (inherited from Character)Character's position.
_status 
_status_flag (inherited from Character)Status flags.
_viewing_characters (inherited from Character)Currently visible characters
_viewing_itemsCurrently visible items
_viewing_player_charactersCurrently visible player characters.
_vs_fire (inherited from Character) 
_vs_lightning (inherited from Character) 
_vs_poison (inherited from Character) 
_vs_water (inherited from Character) 
_weight_max 

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_character (inherited from Character)Processes an appearing character.
process_disappearing_character (inherited from Character)Processes a disappearing character.

See Also

PlayerCharacter Class | croemud.character Namespace