Eamon CS  3.1.0
ARuncibleCargo.Game.Monster Class Reference
Inheritance diagram for ARuncibleCargo.Game.Monster:
Eamon.Game.Monster Eamon.Framework.IMonster Eamon.Game.GameBase Eamon.Framework.IMonster Eamon.Framework.IGameBase Eamon.Framework.IGameBase Eamon.Framework.IGameBase

Public Member Functions

override RetCode BuildPrintedFullDesc (StringBuilder buf, bool showName, bool showVerboseName)
 
override bool HasHumanNaturalAttackDescs ()
 
override bool CanMoveToRoomUid (long roomUid, bool fleeing)
 
override bool ShouldRefuseToAcceptGold ()
 
override bool ShouldRefuseToAcceptGift (IArtifact artifact)
 
- Public Member Functions inherited from Eamon.Game.Monster
override void Dispose (bool disposing)
 
override void SetParentReferences ()
 
override string GetPluralName (string fieldName)
 
override string GetDecoratedName (string fieldName, ArticleType articleType, bool upshift=false, bool showCharOwned=true, bool showStateDesc=false, bool showContents=false, bool groupCountOne=false)
 
override RetCode BuildPrintedFullDesc (StringBuilder buf, bool showName, bool showVerboseName)
 
virtual int CompareTo (IMonster monster)
 
virtual bool IsDead ()
 Indicates whether this Monster is dead. More...
 
virtual bool IsCarryingWeapon ()
 
virtual bool IsWeaponless (bool includeWeaponFumble)
 
virtual bool HasDeadBody ()
 
virtual bool HasWornInventory ()
 
virtual bool HasCarriedInventory ()
 
virtual bool HasMoved (long oldLocation, long newLocation)
 
virtual bool IsInRoom ()
 
virtual bool IsInLimbo ()
 
virtual bool IsInRoomUid (long roomUid)
 
virtual bool IsInRoom (IRoom room)
 
virtual bool IsAttackable (IMonster monster)
 
virtual bool CanMoveToRoom (IRoom room, bool fleeing)
 
virtual bool CanMoveInDirection (Direction dir, bool fleeing)
 
virtual bool CanAttackWithMultipleWeapons ()
 Indicates whether this Monster is allowed to attack with multiple Artifact weapons in a single combat round, if certain other conditions are met. More...
 
virtual bool CanCarryArtifactWeight (IArtifact artifact)
 
virtual long GetCarryingWeaponUid ()
 
virtual long GetDeadBodyUid ()
 
virtual long GetInRoomUid ()
 
virtual IRoom GetInRoom ()
 
virtual void SetInRoomUid (long roomUid)
 
virtual void SetInLimbo ()
 
virtual void SetInRoom (IRoom room)
 
virtual bool IsInRoomLit ()
 
virtual bool IsInRoomViewable ()
 
virtual bool ShouldFleeRoom ()
 
virtual bool ShouldCastSpell (ref Enums.Spell spellCast, ref IGameBase spellTarget)
 
virtual bool ShouldReadyWeapon ()
 
virtual bool ShouldShowContentsWhenExamined ()
 
virtual bool ShouldShowHealthStatusWhenExamined ()
 
virtual bool ShouldShowHealthStatusWhenInventoried ()
 
virtual bool ShouldShowVerboseNameStateDesc ()
 
virtual bool ShouldCheckToAttackNonEnemy ()
 
virtual bool ShouldProcessInGameLoop ()
 
virtual bool ShouldRefuseToAcceptDeadBody (IArtifact artifact)
 
virtual bool ShouldPreferNaturalWeaponsToWeakerWeapon (IArtifact artifact)
 
virtual bool ShouldCombatStanceChangedConsumeTurn (long oldParry, long newParry)
 
virtual bool ShouldPrintCombatStanceChanged (long oldParry, long newParry)
 
virtual bool CheckNBTLHostility ()
 
virtual bool CheckCourage ()
 
virtual bool CheckParryAdjustment ()
 
virtual T EvalReaction< T > (T enemyValue, T neutralValue, T friendValue)
 Evaluates this Monster's Reaction, returning a value of type T. More...
 
virtual T EvalGender< T > (T maleValue, T femaleValue, T neutralValue)
 Evaluates this Monster's Gender, returning a value of type T. More...
 
virtual T EvalPlural< T > (T singularValue, T pluralValue)
 Evaluates this Monster's CurrGroupCount, returning a value of type T. More...
 
virtual T EvalInRoomLightLevel< T > (T darkValue, T lightValue)
 Evaluates the LightLvl of this Monster's Room (as determined by its Location), returning a value of type T. More...
 
virtual T EvalInRoomViewability< T > (T nonviewableValue, T viewableValue)
 
virtual void ResolveReaction (long charisma)
 
virtual void ResolveReaction (ICharacter character)
 
virtual void CalculateGiftFriendliness (long value, bool isArtifactValue)
 
virtual bool IsCharacterMonster ()
 Indicates whether this Monster represents the player character. More...
 
virtual bool IsStateDescSideNotes ()
 
virtual long GetWeightCarryableGronds ()
 
virtual long GetFleeingMemberCount ()
 
virtual long GetMaxMemberActionCount ()
 
virtual long GetMaxMemberAttackCount ()
 
virtual long GetInitParryResetOdds ()
 
virtual long GetCombatStanceIndex (long parry)
 
virtual long GetTrendToPreferredOdds ()
 
virtual long GetTrendToPreferredRange ()
 
virtual double GetTrendToPreferredMultiplier ()
 
virtual long GetCrowdAwareBonus ()
 
virtual long GetProgressivelyAggressiveModifier ()
 
virtual bool GetAbilityDependentReady ()
 
virtual long GetParryAdjustment ()
 
virtual IMonsterSpell GetMonsterSpell (Enums.Spell spell)
 
virtual IList< IArtifactGetCarriedList (Func< IArtifact, bool > monsterFindFunc=null, Func< IArtifact, bool > artifactFindFunc=null, bool recurse=false)
 
virtual IList< IArtifactGetWornList (Func< IArtifact, bool > monsterFindFunc=null, Func< IArtifact, bool > artifactFindFunc=null, bool recurse=false)
 
virtual IList< IArtifactGetContainedList (Func< IArtifact, bool > monsterFindFunc=null, Func< IArtifact, bool > artifactFindFunc=null, bool recurse=false)
 
virtual RetCode EnforceFullInventoryWeightLimits (Func< IArtifact, bool > monsterFindFunc=null, Func< IArtifact, bool > artifactFindFunc=null, bool recurse=false)
 
virtual RetCode GetFullInventoryWeight (ref long weight, Func< IArtifact, bool > monsterFindFunc=null, Func< IArtifact, bool > artifactFindFunc=null, bool recurse=false)
 
virtual void AddHealthStatus (StringBuilder buf, bool appendNewLine=true)
 
virtual string[] GetWeaponAttackDescs (IArtifact artifact)
 
virtual string[] GetHumanAttackDescs ()
 
virtual string[] GetNaturalAttackDescs ()
 
virtual string GetAttackDescString (IRoom room, IArtifact artifact)
 
virtual string[] GetWeaponMissDescs (IArtifact artifact)
 
virtual string[] GetNaturalMissDescs ()
 
virtual string GetMissDescString (IArtifact artifact)
 
virtual string GetArmorDescString ()
 
virtual string GetCantFindExitDescString (IRoom room, string monsterName, bool isPlural, bool fleeing)
 
virtual string GetMembersExitRoomDescString (IRoom room, string monsterName, bool isPlural, bool fleeing)
 
virtual string GetExitRoomDescString (IRoom room, string monsterName, bool isPlural, bool fleeing, Direction exitDirection)
 
virtual string GetEnterRoomDescString (IRoom room, string monsterName, bool isPlural, bool fleeing, Direction enterDirection)
 
virtual string GetParryCombatStanceString ()
 
virtual string GetAssumeCombatStanceString ()
 
virtual string GetAssumeCombatStanceString01 ()
 
virtual string GetCombatStanceString ()
 
virtual string GetPovString (string youString, string maleString, string femaleString, string neutralString, string groupString)
 
 Monster ()
 
- Public Member Functions inherited from Eamon.Game.GameBase
void Dispose ()
 
virtual string GetPluralName01 ()
 
virtual string GetNoneName (bool upshift=false, bool showCharOwned=true, bool showStateDesc=false, bool showContents=false, bool groupCountOne=false)
 
virtual string GetArticleName (bool upshift=false, bool showCharOwned=true, bool showStateDesc=false, bool showContents=false, bool groupCountOne=false)
 
virtual string GetTheName (bool upshift=false, bool showCharOwned=true, bool showStateDesc=false, bool showContents=false, bool groupCountOne=false)
 
 GameBase ()
 

Additional Inherited Members

- Public Attributes inherited from Eamon.Game.Monster
long _courage
 
long _location
 
- Properties inherited from Eamon.Game.Monster
virtual string StateDesc [get, set]
 
virtual bool IsListed [get, set]
 
virtual PluralType PluralType [get, set]
 
virtual long Hardiness [get, set]
 
virtual long Agility [get, set]
 
virtual long GroupCount [get, set]
 
virtual long AttackCount [get, set]
 
virtual long? Courage [get, set]
 
virtual long Location [get, set]
 
virtual CombatCode CombatCode [get, set]
 
virtual ParryCode ParryCode [get, set]
 
virtual long Parry [get, set]
 
virtual long ParryOdds [get, set]
 
virtual long ParryTurns [get, set]
 
virtual long Armor [get, set]
 
virtual long Weapon [get, set]
 
virtual long NwDice [get, set]
 
virtual long NwSides [get, set]
 
virtual long DeadBody [get, set]
 
virtual Friendliness Friendliness [get, set]
 
virtual Gender Gender [get, set]
 
virtual long InitGroupCount [get, set]
 
virtual long CurrGroupCount [get, set]
 
virtual long InitParry [get, set]
 
virtual Friendliness Reaction [get, set]
 
virtual long DmgTaken [get, set]
 
virtual long Field1 [get, set]
 
virtual long Field2 [get, set]
 
virtual IMonsterSpell[] Spells [get, set]
 
- Properties inherited from Eamon.Game.GameBase
virtual long Uid [get, set]
 
virtual string Name [get, set]
 
virtual string Desc [get, set]
 
virtual string[] Synonyms [get, set]
 
virtual bool Seen [get, set]
 
virtual bool Moved [get, set]
 
virtual ArticleType ArticleType [get, set]
 
virtual string ParserMatchName [get, set]
 
- Properties inherited from Eamon.Framework.IGameBase
long Uid [get, set]
 Gets or sets a unique Id that distinguishes this Record from others of its type. More...
 
string Name [get, set]
 Gets or sets the name of this Record as shown in various lists or the Record's full description. More...
 
string Desc [get, set]
 Gets or sets the detailed description of this Record shown when the Record is first Seen or later examined. More...
 
string[] Synonyms [get, set]
 Gets or sets a string array containing Name synonyms for this Record (may be null). More...
 
bool Seen [get, set]
 Gets or sets a value indicating whether this Record has been seen by the player character. More...
 
bool Moved [get, set]
 Gets or sets a value indicating whether this Record has been moved from its original Location. More...
 
ArticleType ArticleType [get, set]
 Gets or sets a value indicating how this Record's Name is prefixed to produce its listed Name. More...
 
string ParserMatchName [get, set]
 Gets or sets the name or synonym of this Record matched in the FilterRecordList method. More...
 
- Properties inherited from Eamon.Framework.IMonster
string StateDesc [get, set]
 Gets or sets a description shown after this Monster's Name in various lists that indicates its state. More...
 
bool IsListed [get, set]
 Gets or sets a value indicating whether this Monster should be displayed in various lists. More...
 
PluralType PluralType [get, set]
 Gets or sets a value indicating how this Monster's singular Name is modified to produce its plural Name. More...
 
long Hardiness [get, set]
 Gets or sets this Monster's Hardiness Stat. More...
 
long Agility [get, set]
 Gets or sets this Monster's Agility Stat. More...
 
long GroupCount [get, set]
 Gets or sets the original number of members in this Monster's group at the beginning of the game (will be 1 for individuals). More...
 
long AttackCount [get, set]
 Gets or sets the number of attacks each member in this Monster's group can make every combat round. More...
 
long Courage [get, set]
 
long Location [get, set]
 Gets or sets the location of this Monster in the game (typically a Room Uid). More...
 
CombatCode CombatCode [get, set]
 Gets or sets a value indicating this Monster's behavior when in combat. More...
 
ParryCode ParryCode [get, set]
 Gets or sets a value indicating this Monster's parrying behavior in combat. More...
 
long Parry [get, set]
 
long ParryOdds [get, set]
 
long ParryTurns [get, set]
 
long Armor [get, set]
 
long Weapon [get, set]
 Gets or sets the ArtifactUid for this Monster's readied weapon (may be 0 or negative if none exists). More...
 
long NwDice [get, set]
 Gets or sets the hit dice done per attack, for Monsters that can use natural attacks (based on CombatCode). More...
 
long NwSides [get, set]
 Gets or sets the hit dice sides done per attack, for Monsters that can use natural attacks (based on CombatCode). More...
 
long DeadBody [get, set]
 Gets or sets the ArtifactUid for this Monster's dead body (may be 0 if none exists). More...
 
Friendliness Friendliness [get, set]
 
Gender Gender [get, set]
 Gets or sets this Monster's gender. More...
 
long InitGroupCount [get, set]
 Gets or sets the initial number of members in this Monster's group at the beginning of the current combat round (will be 1 for individuals). More...
 
long CurrGroupCount [get, set]
 Gets or sets the current number of members in this Monster's group (will be 1 for individuals). More...
 
long InitParry [get, set]
 
Friendliness Reaction [get, set]
 
long DmgTaken [get, set]
 Gets or sets the number of hit points of damage taken by this Monster, either in combat or otherwise. More...
 
long Field1 [get, set]
 Gets or sets a value that is unused by Eamon CS, but provided for game developer usage. More...
 
long Field2 [get, set]
 Gets or sets a value that is unused by Eamon CS, but provided for game developer usage. More...
 
IMonsterSpell[] Spells [get, set]
 Gets or sets an array of MonsterSpell objects that define this Monster's spellcasting ability (NPC only). More...
 

Member Function Documentation

◆ BuildPrintedFullDesc()

override RetCode ARuncibleCargo.Game.Monster.BuildPrintedFullDesc ( StringBuilder  buf,
bool  showName,
bool  showVerboseName 
)

Parameters
buf
showName
showVerboseName
Returns

Implements Eamon.Framework.IGameBase.

◆ CanMoveToRoomUid()

override bool ARuncibleCargo.Game.Monster.CanMoveToRoomUid ( long  roomUid,
bool  fleeing 
)

Parameters
roomUid
fleeing
Returns

Implements Eamon.Framework.IMonster.

◆ HasHumanNaturalAttackDescs()

override bool ARuncibleCargo.Game.Monster.HasHumanNaturalAttackDescs ( )

Returns

Implements Eamon.Framework.IMonster.

◆ ShouldRefuseToAcceptGift()

override bool ARuncibleCargo.Game.Monster.ShouldRefuseToAcceptGift ( IArtifact  artifact)

Parameters
artifact
Returns

Implements Eamon.Framework.IMonster.

◆ ShouldRefuseToAcceptGold()

override bool ARuncibleCargo.Game.Monster.ShouldRefuseToAcceptGold ( )

Returns

Implements Eamon.Framework.IMonster.


The documentation for this class was generated from the following file: