Logo
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
Yukar.Engine.BattlePlayerData Class Reference

Management class for allies in battle More...

Inheritance diagram for Yukar.Engine.BattlePlayerData:
Yukar.Engine.BattleCharacterBase

Public Member Functions

 BattlePlayerData ()
 
override Common.Rom.Cast GetSource ()
 
void SetParameters (Hero p, bool isHpMpMax, bool isParameterMax, Party party)
 
override void Update ()
 
bool IsBattleCommandDisabled (Common.Rom.BattleCommand inCommand)
 
override void InitializeBattleCommandDisabled (Catalog inCatalog)
 
void ChangeEmotion (Resource.Face.FaceType emotion)
 
override void ExecuteCommandStart ()
 
override void ExecuteCommandEnd ()
 
override void CommandReactionStart ()
 
override void CommandReactionEnd ()
 
void setFaceImage (Resource.SliceAnimationSet face)
 
void disposeFace ()
 
void calcHeroLayout (int index)
 
override bool isMovableToForward (bool inAttack)
 
override bool isUseWalkInAttack ()
 
- Public Member Functions inherited from Yukar.Engine.BattleCharacterBase
int GetSystemStatus (Rom.GameSettings inGS, Guid inId)
 
int GetStatus (Rom.GameSettings inGS, Guid inId)
 
int GetStatus (Rom.GameSettings inGS, string inKey)
 
int ResistanceAttackAttribute (Guid attributeIndex)
 
float ResistanceAttackAttributePercent (Guid attributeIndex)
 
AttributeToleranceType AttackAttributeTolerance (Guid attributeIndex)
 
int GetResistanceAilmentStatus (Guid inId)
 
bool IsDeadCondition (bool strict=false)
 
bool IsBehindPartyCondition ()
 
bool IsActionDisabled ()
 
virtual void InitializeBattleCommandDisabled (Catalog inCatalog)
 
void Resurrection (BattleEventControllerBase inBattleEvents=null)
 
void Down (Catalog inCatalog, BattleEventControllerBase inBattleEvents)
 
virtual Rom.Cast GetSource ()
 
virtual void Update ()
 
void SetCondition (Catalog inCatalog, Guid inSetConditionId, BattleEventControllerBase inBattleEvents)
 Add State More...
 
bool SetCondition (Catalog inCatalog, Guid inSetConditionId, BattleEventControllerBase inBattleEvents, bool inCheckResistance)
 
virtual void SetCondition (Catalog inCatalog, Rom.Condition inSetCondition, BattleEventControllerBase inBattleEvents)
 Add State More...
 
void RecoveryCondition (Guid inRecoveryConditionId)
 Recovery of status (effect invalid when canceled) More...
 
void RecoveryCondition (Guid inRecoveryConditionId, BattleEventControllerBase inBattleEvents, Rom.Condition.RecoveryType inRecoveryType)
 state recovery More...
 
void GetSkillTarget (Common.Rom.NSkill skill, out BattleCharacterBase[] friendEffectTargets, out BattleCharacterBase[] enemyEffectTargets, IEnumerable< BattleCharacterBase > srcFriends=null, IEnumerable< BattleCharacterBase > srcEnemies=null)
 
virtual void ExecuteCommandStart ()
 
virtual void ExecuteCommandEnd ()
 
virtual void CommandReactionStart ()
 
virtual void CommandReactionEnd ()
 
virtual void SetPosition (Vector3 inPosition)
 
void ConsistancyHPPercentConditions (Catalog catalog, BattleEventControllerBase inBattleEvents)
 
abstract bool isMovableToForward (bool inAttack=false)
 
abstract bool isUseWalkInAttack ()
 
void ConsistancyConsumptionStatus (Rom.GameSettings inGS)
 
void RefreshStatus ()
 
List< string > GetBattleCommandDisabledTargetTagList ()
 

Public Attributes

Hero player
 
int commandSelectedCount
 
Common.Resource.Texture characterImageId
 
int viewIndex
 
Common.Resource.Texture[] characterEmotionPatternImageId
 
bool isCharacterImageReverse
 
Vector2 statusWindowDrawPosition
 
Vector2 commandSelectWindowBasePosition
 
Vector2 characterImagePosition
 
Vector2 characterImageSize
 
TweenVector2 characterImageTween
 
TweenVector2 characterImageEffectTween
 
BattleEnum.StatusWindowState statusWindowState
 
readonly Vector2 RelativePosition = new Vector2(30, 0)
 
bool forceSetCommand
 
Guid currentFace
 
- Public Attributes inherited from Yukar.Engine.BattleCharacterBase
MapCharacter mapChr
 
Vector3 pos
 
Vector3 moveTargetPos
 
float directionRad
 
BattleCommand selectedBattleCommand
 
string selectedBattleCommandTags
 
BattleCharacterBase[] targetCharacter
 
List< BattleCharacterBasecommandFriendEffectCharacters
 
List< BattleCharacterBasecommandEnemyEffectCharacters
 
List< BattleCharacterBasecommandTargetList
 
List< Rom.NSkill > useableSkillList
 
List< Party.ItemStackhaveItemList
 
Rom.NSkill selectedSkill
 
Party.ItemStack selectedItem
 
StatusValue baseStatusValue = new StatusValue(true)
 
StatusValue consumptionStatusValue = new StatusValue(true)
 
List< EnhanceEffectattackEnhanceEffects
 
List< EnhanceEffectguardEnhanceEffects
 
StatusValue enhanceStatusValue = new StatusValue()
 
StatusValue conditionStatusValue = new StatusValue()
 
StatusValue equipmentStatusValue = new StatusValue()
 
List< EffectDrawerpositiveEffectDrawers
 
List< EffectDrawernegativeEffectDrawers
 
List< EffectDrawerstatusEffectDrawers
 
BattleStatusWindowDrawer.StatusData battleStatusData
 
BattleStatusWindowDrawer.StatusData startStatusData
 
BattleStatusWindowDrawer.StatusData nextStatusData
 
int positiveEffectIndex
 
int negativeEffectIndex
 
int statusEffectIndex
 
Dictionary< Guid, int > ResistanceAttackAttributeEnhance
 
Dictionary< Guid, int > ResistanceAttackAttributeBase
 
Dictionary< Guid, int > ResistanceAilmentEnhance = new Dictionary<Guid, int>()
 
Dictionary< Guid, Hero.ConditionInfoconditionInfoDic = new Dictionary<Guid, Hero.ConditionInfo>()
 
Action< BattleCharacterBase, bool, bool > actionHandler
 
float imageAlpha = 1.0f
 
object skillFailCauses
 

Static Public Attributes

const int RegisterBattleCommandCountMax = 5
 

Protected Member Functions

override void SetConditionWithInfiniteLoopCheck (Catalog inCatalog, Common.Rom.Condition inSetCondition, BattleEventControllerBase inBattleEvents, List< Guid > inUsedSetConditionIdList)
 
- Protected Member Functions inherited from Yukar.Engine.BattleCharacterBase
 BattleCharacterBase ()
 
void InitializeConditionColor ()
 
virtual void SetConditionWithInfiniteLoopCheck (Catalog inCatalog, Rom.Condition inSetCondition, BattleEventControllerBase inBattleEvents, List< Guid > inUsedSetConditionIdList)
 

Properties

override Hero Hero [get]
 
override bool IsHero [get]
 
bool IsCommandSelectable [get]
 
bool IsAnyCommandSelectable [get]
 
bool IsDisabledAllCommand [get]
 
bool IsDisabledEscape [get]
 
- Properties inherited from Yukar.Engine.BattleCharacterBase
abstract bool IsHero [get]
 
virtual Hero Hero [get]
 
int UniqueID [get, set]
 
bool IsBattle [get, set]
 
bool IsStock [get, set]
 
int ExecuteCommandTurnCount [get, set]
 
BattleCommandType selectedBattleCommandType [get, set]
 
List< BattleCharacterBaseFriendPartyRefMember [get, set]
 
List< BattleCharacterBaseEnemyPartyRefMember [get, set]
 
int EscapeSuccessBasePercent [get, set]
 
string EscapeSuccessMessage [get, set]
 
int HitPoint [get, set]
 
int MagicPoint [get, set]
 
Color ConditionColor [get]
 
bool ConditionTransparent [get]
 
bool IsSelectedBattleCommandDisabled [get]
 
int MaxHitPoint [get]
 
int MaxMagicPoint [get]
 
int MaxHitPointBase [get, set]
 
int MaxMagicPointBase [get, set]
 
int MaxHitPointEnhance [get, set]
 
int MaxHitPointCondition [get, set]
 
int MaxHitPointEquipment [get, set]
 
int MaxMagicPointEnhance [get, set]
 
int MaxMagicPointCondition [get, set]
 
int MaxMagicPointEquipment [get, set]
 
float HitPointPercent [get]
 
float MagicPointPercent [get]
 
int MaxDamage [get]
 
int MaxDamageBase [get, set]
 
int MaxDamageEnhance [get, set]
 
int MaxDamageCondition [get, set]
 
int Attack [get]
 
int Defense [get]
 
int Power [get]
 
int Magic [get]
 
int Speed [get]
 
int Evasion [get]
 
int Dexterity [get]
 
int Critical [get]
 
int ElementAttack [get, set]
 
int AttackBase [get, set]
 
int DefenseBase [get, set]
 
int PowerBase [get, set]
 
int VitalityBase [get, set]
 
int MagicBase [get, set]
 
int SpeedBase [get, set]
 
int DexterityBase [get, set]
 
int EvasionBase [get, set]
 
int CriticalBase [get, set]
 
int AttackAddCondition [get, set]
 
int PowerEnhancement [get, set]
 
int MagicEnhancement [get, set]
 
int VitalityEnhancement [get, set]
 
int SpeedEnhancement [get, set]
 
int EvasionEnhancement [get, set]
 
int DexterityEnhancement [get, set]
 
int PowerCondition [get, set]
 
int MagicCondition [get, set]
 
int VitalityCondition [get, set]
 
int SpeedCondition [get, set]
 
int EvasionCondition [get, set]
 
int DexterityCondition [get, set]
 
int CriticalCondition [get, set]
 
int HateCondition [get, set]
 
int PowerEquipment [get, set]
 
int MagicEquipment [get, set]
 
int VitalityEquipment [get, set]
 
int SpeedEquipment [get, set]
 
bool IsPowerEnhancementUp [get]
 
bool IsMagicEnhancementUp [get]
 
bool IsVitalityEnhancementUp [get]
 
bool IsSpeedEnhancementUp [get]
 
bool IsEvasionEnhancementUp [get]
 
bool IsDexterityEnhancementUp [get]
 
bool IsPowerEnhancementDown [get]
 
bool IsMagicEnhancementDown [get]
 
bool IsVitalityEnhancementDown [get]
 
bool IsSpeedEnhancementDown [get]
 
bool IsEvasionEnhancementDown [get]
 
bool IsDexterityEnhancementDown [get]
 
AttackAttributeType AttackAttribute [get, set]
 
float DamageRate [get]
 
Guid AttackEffect [get, set]
 
Guid DeathEffect [get, set]
 
Vector2 EffectPosition [get, set]
 
Vector2 DamageTextPosition [get, set]
 
float EffectPriority [get, set]
 
ReactionType CommandReactionType [get, set]
 
string Name [get, set]
 
bool IsSelect [get, set]
 
bool IsSelectDisabled [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from Yukar.Engine.BattleCharacterBase
Dictionary< Guid, int > ResistanceAilmentStatus = new Dictionary<Guid, int>()
 

Detailed Description

Management class for allies in battle

Constructor & Destructor Documentation

◆ BattlePlayerData()

Yukar.Engine.BattlePlayerData.BattlePlayerData ( )

Member Function Documentation

◆ calcHeroLayout()

void Yukar.Engine.BattlePlayerData.calcHeroLayout ( int  index)

◆ ChangeEmotion()

void Yukar.Engine.BattlePlayerData.ChangeEmotion ( Resource.Face.FaceType  emotion)

◆ CommandReactionEnd()

override void Yukar.Engine.BattlePlayerData.CommandReactionEnd ( )
virtual

Reimplemented from Yukar.Engine.BattleCharacterBase.

◆ CommandReactionStart()

override void Yukar.Engine.BattlePlayerData.CommandReactionStart ( )
virtual

Reimplemented from Yukar.Engine.BattleCharacterBase.

◆ disposeFace()

void Yukar.Engine.BattlePlayerData.disposeFace ( )

◆ ExecuteCommandEnd()

override void Yukar.Engine.BattlePlayerData.ExecuteCommandEnd ( )
virtual

Reimplemented from Yukar.Engine.BattleCharacterBase.

◆ ExecuteCommandStart()

override void Yukar.Engine.BattlePlayerData.ExecuteCommandStart ( )
virtual

Reimplemented from Yukar.Engine.BattleCharacterBase.

◆ GetSource()

override Common.Rom.Cast Yukar.Engine.BattlePlayerData.GetSource ( )
virtual

Reimplemented from Yukar.Engine.BattleCharacterBase.

◆ InitializeBattleCommandDisabled()

override void Yukar.Engine.BattlePlayerData.InitializeBattleCommandDisabled ( Catalog  inCatalog)
virtual

Reimplemented from Yukar.Engine.BattleCharacterBase.

◆ IsBattleCommandDisabled()

bool Yukar.Engine.BattlePlayerData.IsBattleCommandDisabled ( Common.Rom.BattleCommand  inCommand)

◆ isMovableToForward()

override bool Yukar.Engine.BattlePlayerData.isMovableToForward ( bool  inAttack)
virtual

◆ isUseWalkInAttack()

override bool Yukar.Engine.BattlePlayerData.isUseWalkInAttack ( )
virtual

◆ SetConditionWithInfiniteLoopCheck()

override void Yukar.Engine.BattlePlayerData.SetConditionWithInfiniteLoopCheck ( Catalog  inCatalog,
Common.Rom.Condition  inSetCondition,
BattleEventControllerBase  inBattleEvents,
List< Guid >  inUsedSetConditionIdList 
)
protected

◆ setFaceImage()

void Yukar.Engine.BattlePlayerData.setFaceImage ( Resource.SliceAnimationSet  face)

◆ SetParameters()

void Yukar.Engine.BattlePlayerData.SetParameters ( Hero  p,
bool  isHpMpMax,
bool  isParameterMax,
Party  party 
)

◆ Update()

override void Yukar.Engine.BattlePlayerData.Update ( )
virtual

Reimplemented from Yukar.Engine.BattleCharacterBase.

Member Data Documentation

◆ characterEmotionPatternImageId

Common.Resource.Texture [] Yukar.Engine.BattlePlayerData.characterEmotionPatternImageId

◆ characterImageEffectTween

TweenVector2 Yukar.Engine.BattlePlayerData.characterImageEffectTween

◆ characterImageId

Common.Resource.Texture Yukar.Engine.BattlePlayerData.characterImageId

◆ characterImagePosition

Vector2 Yukar.Engine.BattlePlayerData.characterImagePosition

◆ characterImageSize

Vector2 Yukar.Engine.BattlePlayerData.characterImageSize

◆ characterImageTween

TweenVector2 Yukar.Engine.BattlePlayerData.characterImageTween

◆ commandSelectedCount

int Yukar.Engine.BattlePlayerData.commandSelectedCount

◆ commandSelectWindowBasePosition

Vector2 Yukar.Engine.BattlePlayerData.commandSelectWindowBasePosition

◆ currentFace

Guid Yukar.Engine.BattlePlayerData.currentFace

◆ forceSetCommand

bool Yukar.Engine.BattlePlayerData.forceSetCommand

◆ isCharacterImageReverse

bool Yukar.Engine.BattlePlayerData.isCharacterImageReverse

◆ player

Hero Yukar.Engine.BattlePlayerData.player

◆ RegisterBattleCommandCountMax

const int Yukar.Engine.BattlePlayerData.RegisterBattleCommandCountMax = 5
static

◆ RelativePosition

readonly Vector2 Yukar.Engine.BattlePlayerData.RelativePosition = new Vector2(30, 0)

◆ statusWindowDrawPosition

Vector2 Yukar.Engine.BattlePlayerData.statusWindowDrawPosition

◆ statusWindowState

BattleEnum.StatusWindowState Yukar.Engine.BattlePlayerData.statusWindowState

◆ viewIndex

int Yukar.Engine.BattlePlayerData.viewIndex

Property Documentation

◆ Hero

override Hero Yukar.Engine.BattlePlayerData.Hero
get

◆ IsAnyCommandSelectable

bool Yukar.Engine.BattlePlayerData.IsAnyCommandSelectable
get

◆ IsCommandSelectable

bool Yukar.Engine.BattlePlayerData.IsCommandSelectable
get

◆ IsDisabledAllCommand

bool Yukar.Engine.BattlePlayerData.IsDisabledAllCommand
get

◆ IsDisabledEscape

bool Yukar.Engine.BattlePlayerData.IsDisabledEscape
get

◆ IsHero

override bool Yukar.Engine.BattlePlayerData.IsHero
get