Logo
公開型 | 公開メンバ関数 | 静的公開変数類 | 全メンバ一覧
Yukar.Engine.BattleEventControllerBase クラスabstract

バトルイベント管理クラスの既定クラス [詳解]

Yukar.Engine.BattleEventControllerBase の継承関係図
Yukar.Engine.MapScene Yukar.Engine.SceneBase

公開型

enum  CampType { Party = 0 , Enemy }
 
- 基底クラス Yukar.Engine.MapScene に属する継承公開型
enum  EffectPosType { Head , Body , Ground }
 エフェクト座標 [詳解]
 

公開メンバ関数

virtual int getActiveCharacterCampType ()
 
virtual int getActiveCharacterIndex ()
 
virtual BattleCharacterBase getActiveCharacter ()
 
virtual int getActiveCharacterActionType ()
 
virtual int getActiveCharacterTargetIndex ()
 
virtual int getActiveCharacterTargetCamp ()
 
virtual string getActiveCharacterSelectedSkillOrItemName ()
 
virtual string getActiveCharacterSelectedSkillOrItemTag ()
 
abstract int getPartyNumber ()
 
abstract int getPartyStatus (Script.Command.VarHeroSourceType srcTypePlus, Guid option, int heroIndex)
 
virtual int getPartyStatus (Guid statusId, int heroIndex)
 
abstract int getEnemyStatus (Script.Command.VarHeroSourceType srcTypePlus, Guid option, int index)
 
virtual int getEnemyStatus (Guid statusId, int index)
 
abstract int getStatus (Script.Command.IfHeroSourceType srcTypePlus, Guid option, Common.GameData.Hero hero)
 
virtual int getStatus (Guid statusId, Common.GameData.Hero hero)
 
abstract int getBattleStatus (Script.Command.VarHeroSourceType srcTypePlus, Guid option, Common.GameData.Hero hero)
 
abstract void refreshEquipmentEffect (Common.GameData.Hero hero)
 
virtual void refreshEquipmentAttachCondition (Common.GameData.Hero hero, int setEquipmentIdx, Common.Rom.NItem prevEquipment)
 
abstract void addStatus (Common.GameData.Hero hero, ScriptRunner.HeroStatusType type, int num)
 
virtual void SetNextBattleStatus (List< BattleCharacterBase > battlePlayerDataList)
 
virtual BattleCharacterBase searchPartyFromId (object heroId)
 
virtual BattleCharacterBase searchEnemyFromMapCharacter (MapCharacter mapCharacter)
 
abstract void fullRecovery (bool poison=true, bool revive=true)
 
abstract Guid getEnemyGuid (int index)
 
abstract void showBattleUi (bool v)
 
abstract void healBattleCharacter (Script.Command curCommand, Guid guId)
 
abstract MapCharacter getBattleActorMapChr (Script.Command curCommand, Guid guId)
 
abstract void setNextAction (Script.Command curCommand, Guid guId)
 
abstract void setBattleStatus (Script.Command curCommand, Guid evGuid, bool typeReduced=false)
 
abstract void battleStop ()
 
abstract BattleEnum.MemberChangeData addMonster (Script.Command curCommand, Guid guId)
 
virtual BattleEnum.MemberChangeData addRemoveMember (Script.Command curCommand)
 
virtual BattleEnum.MemberChangeData addRemoveMember (Script.Command curCommand, Guid guId)
 
abstract bool existMember (Guid guid)
 
abstract void RefreshHeroMapChr (Cast rom)
 
abstract void healParty (Script.Command curCommand, Guid guId)
 
abstract void start (Guid scriptOnTrigger)
 
virtual void CalcHitCheckResult ()
 
- 基底クラス Yukar.Engine.MapScene に属する継承公開メンバ関数
delegate void LoadEndCallback ()
 
void updateWindows ()
 
void drawWindows ()
 
void setLightDisplayID (bool isBattle, uint displayId)
 
void resetCamera (bool initializeByLoadMap)
 
void resetViewCamera ()
 
 MapScene ()
 
 MapScene (GameMain owner)
 
override void initialize ()
 
void initializeMenu ()
 
void Reset ()
 
void ResetMapCharacter ()
 配置イベントのリセット [詳解]
 
override void finalize ()
 
void releaseMenu ()
 
override void Update ()
 
bool isMenuVisible ()
 メニューの表示状態(会話などを含めない) [詳解]
 
override void Draw ()
 描画処理 [詳解]
 
SharpKmyMath.Vector3 UpdateCameraAnimation ()
 
void CopyFromCameraManager (CameraManager camManager)
 
void DrawEffects ()
 
void DrawMovies (int priority)
 
virtual void ShowFace (Guid inLeftId, string inLeftMotion, bool inIsLeftFlip, Guid inRightId, string inRightMotion, bool inIsRightFlip, bool inIsLeftActive, bool inUsedLighting)
 
void ShowFace (Guid inLeftId, string inLeftMotion, bool inIsLeftFlip, Guid inRightId, string inRightMotion, bool inIsRightFlip, bool inIsLeftActive, bool inUsedLighting, string blendShapeA, string blendShapeB)
 
virtual void HideFace ()
 
void UpdateFace ()
 
void DrawFace ()
 立ち絵を明示的に描画する SpriteFaceManager.cs にあるべきだが、バトルプラグインの互換性維持のためここに残す [詳解]
 
void CreateCameraMatrix (out SharpKmyMath.Matrix4 p, out SharpKmyMath.Matrix4 v, float farclip=1000f)
 カメラ行列の生成 [詳解]
 
void createCameraMatrix (float aspectRatio, SharpKmyMath.Vector3 lookAt, Common.Rom.ThirdPersonCameraSettings cameraSettings, out SharpKmyMath.Matrix4 p, out SharpKmyMath.Matrix4 v)
 カメラ行列の生成(ThirdPersonCameraSettingsを明示的に指定するタイプ) [詳解]
 
void SetLookAtTarget (MapCharacter chr, SharpKmyMath.Vector3 pos)
 
SharpKmyMath.Vector3 GetLookAtTarget ()
 
virtual void GetCharacterScreenPos (MapCharacter chr, out int x, out int y, EffectPosType pos=EffectPosType.Ground)
 
virtual void GetCharacterScreenPos (MapCharacter chr, out int x, out int y, EffectPosType pos=EffectPosType.Ground, Vector3? offset=null)
 
bool GetSpritePos (int spriteid, out int x, out int y)
 
int GetRandom (int max, int min=0)
 
float GetRandom (float max, float min)
 
MapCharacter GetHero ()
 
virtual MapCharacter GetHeroForBattle (Common.Rom.Cast rom=null)
 
virtual ScriptRunner GetScriptRunner (Guid guid)
 
bool ChangeGraphic (MapCharacter mapChr, Guid guid)
 
void LockControl (ScriptRunner runner=null)
 
void UnlockControl (ScriptRunner runner=null)
 
void SetScreenColor (Color color)
 
int ShowMessage (string str, int winAlign, MenuControllerBase.WindowTypes winType, Guid sender)
 
int ShowDialogue (string str, int winAlign, MenuControllerBase.WindowTypes winType, Guid sender)
 
void ShowInn (int innPrice, int winAlign)
 
void ShowTelop (string str, int winAlign, MenuControllerBase.WindowTypes winType, AbstractRenderObject.GameContent.TelopProperty telopProperty, Guid sender)
 
void ShowEventLayout (Guid layoutGuid, Common.Rom.LayoutProperties.LayoutNode.UsageInGame usage)
 
bool IsVisibleMessage ()
 
bool IsQueuedMessage (int id)
 
bool IsVisibleDialogue ()
 
bool IsQueuedDialogue (int id)
 
bool IsVisibleTelop ()
 
bool IsVisibleInn ()
 
bool IsVisibleEventLayout (Guid guid)
 
bool DecidedStayingAtInn ()
 
bool IsWordPopped ()
 
void ShowChoices (string[] strs, int selectionPos)
 
int GetChoicesResult ()
 
bool IsVisibleChoices ()
 
void ShowShop (Guid layoutGuid, Common.Rom.NItem[] items, int[] prices)
 
void ShowInputWindow (string[] loadStrings, int stringLength, string defaultInputStrings, int selectionPosition)
 
void HideInputWindow ()
 
void HideFreeLayout (Guid layoutGuid, bool hideAll)
 
bool haveFinshedInputing ()
 
string GetInputString ()
 
bool IsShopVisible ()
 
bool GetShopResult ()
 
void ShowToast (string p)
 
void UpdateToast ()
 
void DrawToast ()
 
LayoutMenuController GetMenuController ()
 
void StartBattle (IEnumerable< Guid > enemyGuids)
 
void EndBattleMode (int loseSwitch=-1)
 
virtual bool DoGameOver ()
 
void RefreshHeroMapChr (bool setRigitBodyPosition=false)
 
virtual void RefreshHeroJoint (Guid heroGuid)
 
void setEncountFlag (bool p)
 
void setMenuAvailable (bool p)
 
void setSaveAvailable (bool p)
 
virtual void ReservationChangeScene (GameMain.Scenes scene)
 
Common.Rom.Map.CameraControlMode GetCameraControlMode ()
 カメラ制御モードを取得 [詳解]
 
bool isToastVisible ()
 
void ShowTrashWindow (Guid guid, int num, bool isCancellable=true)
 
bool IsTrashVisible ()
 
void StartFadeIn ()
 
void StartFadeOut ()
 
Catalog getCatalog ()
 
virtual void applyCameraToBattle ()
 
virtual void SetEffectColor (MapCharacter selfChr, Color color)
 
virtual void setHeroName (Guid hero, string nextHeroName)
 
virtual bool ExistMember (Guid heroGuid)
 
void SetEffectTargetColor (int index, Color color)
 
void SetWipe (Guid effectGuid)
 
bool IsWiping ()
 
void StartLoadData ()
 
bool IsLoadingData ()
 
void ReloadLayout (Common.Rom.LayoutProperties.LayoutNode.UsageInGame usage)
 レイアウトを読み直す(使わなくなったレイアウトの開放処理が走るので一瞬固まります) [詳解]
 
virtual void StopCameraAnimation ()
 カメラアニメを強制終了する [詳解]
 
abstract void initialize ()
 
abstract void finalize ()
 
abstract void Update ()
 
abstract void Draw ()
 

静的公開変数類

static double lastBattleResult
 
static double lastSkillTargetIndex = -1
 
static int lastSkillTargetType
 
static CampType lastSkillUseCampType
 
static double lastSkillUserIndex = -1
 
- 基底クラス Yukar.Engine.MapScene に属する継承静的公開変数類
const int PLAYER_LOCK_BY_EVENT = 0x10000
 
const float GHOST_HERO_VISIBLE_DISTANCE = 0.5f
 
const int EFFECT_2D_GROUND_OFFSET = 48
 
static LoadEndCallback s_loadEndCallback = null
 
static bool disablePreload
 

その他の継承メンバ

- 基底クラス Yukar.Engine.MapScene に属する継承静的公開メンバ関数
static EffectPosType GetEffectPosType (Common.Resource.NSprite.OrigPos origPos)
 
static void GetScreenPos (SharpKmyMath.Vector3 v, out int x, out int y, SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv)
 
static void GetCharacterScreenPos (MapCharacter chr, out int x, out int y, SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv, EffectPosType pos, Vector3? offset=null)
 
static SharpKmyMath.Vector3 GetCharacterPos (MapCharacter chr, EffectPosType pos)
 
static bool IsMapLoading ()
 ロード中かどうかを外部から参照する [詳解]
 
- 基底クラス Yukar.Engine.MapScene に属する継承公開変数類
MenuControllerBase menuWindow = null
 
SpriteManager spManager = new SpriteManager()
 
List< MapCharactermapCharList = new List<MapCharacter>()
 
List< Guid > destroyedEventList = new List<Guid>()
 
AutoSkipSettings autoSkip = new AutoSkipSettings()
 
ScriptRunnerDictionary runnerDic = new ScriptRunnerDictionary()
 
Color screenColor = Color.Transparent
 
ScriptRunner exclusiveRunner
 
bool exclusiveInverse
 
Common.Rom.Map map
 
Common.Rom.Map.BattleSetting battleSetting
 
MapData mapDrawer
 
MapCharacter hero
 
int playerLocked
 
HashSet< ScriptRunnerlockPushedRunner = new HashSet<ScriptRunner>()
 
MapEngine mapEngine
 
FaceView faceView
 
bool isBattle
 
BattleSequenceManagerBase battleSequenceManager
 
bool isGameOver
 
Vector3 camOffset = new Vector3(0, 0.5f, 0)
 
float yCurrentAngle = 0
 
float xCurrentAngle = -60
 
float yTargetAngle = 0
 
float xTargetAngle = -60
 
float fovy = 5
 
float dist = 70
 
float nearClip = 1f
 
Common.Rom.Camera.LpfTypes lpfType = Common.Rom.Camera.LpfTypes.HEIGHT
 
bool ortho
 
float baseRomDist = 70
 
float baseRomNearClip = 1f
 
bool mapFixCamera
 
bool mapFixCameraMode
 
Common.Rom.ThirdPersonCameraSettings startCameraParam = new Common.Rom.ThirdPersonCameraSettings()
 
SharpKmyMath.Vector3 startPos
 
SharpKmyMath.Vector3 startHeroPos
 
float moveCameraProcessTime
 
float loadMoveCameraProcessTime
 
int isCameraMoveByCameraFunc = 0
 
Guid currentRenderSetting
 
string currentRenderSettingBase64 = ""
 
FieldBattleViewer fieldBattleViewer
 
MapLoadManager loadManager
 
- 基底クラス Yukar.Engine.SceneBase に属する継承公開変数類
GameMain owner
 
- 基底クラス Yukar.Engine.MapScene に属する継承静的限定公開メンバ関数
static bool ChangeGraphicImpl (Catalog catalog, MapCharacter mapChr, Guid guid, MapData mapDrawer)
 
- 基底クラス Yukar.Engine.MapScene に属する継承限定公開変数類
Common.Rom.Map.CameraControlMode cameraControlMode = Common.Rom.Map.CameraControlMode.UNKNOWN
 
SharpKmyMath.Matrix4 pp = SharpKmyMath.Matrix4.identity()
 
SharpKmyMath.Matrix4 vv = SharpKmyMath.Matrix4.identity()
 
- 基底クラス Yukar.Engine.MapScene に属する継承プロパティ
virtual CameraManager CameraManager [get]
 
float yAngle [get, set]
 
float xAngle [get, set]
 
float normalizedYAngle [get]
 
SharpKmyMath.Matrix4 CurrentPP [get]
 
SharpKmyMath.Matrix4 CurrentVV [get]
 
SharpKmyMath.Matrix4 BattlePP [get]
 
SharpKmyMath.Matrix4 BattleVV [get]
 
virtual SharpKmyMath.Vector2 ShakeValue [get, set]
 
bool IsMapChangedFrame [get]
 
- 基底クラス Yukar.Engine.SceneBase に属する継承プロパティ
MapScene M [get]
 

詳解

バトルイベント管理クラスの既定クラス

列挙型メンバ詳解

◆ CampType

列挙値
Party 
Enemy 

メソッド詳解

◆ addMonster()

abstract BattleEnum.MemberChangeData Yukar.Engine.BattleEventControllerBase.addMonster ( Script.Command  curCommand,
Guid  guId 
)
pure virtual

◆ addRemoveMember() [1/2]

virtual BattleEnum.MemberChangeData Yukar.Engine.BattleEventControllerBase.addRemoveMember ( Script.Command  curCommand)
virtual

◆ addRemoveMember() [2/2]

virtual BattleEnum.MemberChangeData Yukar.Engine.BattleEventControllerBase.addRemoveMember ( Script.Command  curCommand,
Guid  guId 
)
virtual

◆ addStatus()

abstract void Yukar.Engine.BattleEventControllerBase.addStatus ( Common.GameData.Hero  hero,
ScriptRunner.HeroStatusType  type,
int  num 
)
pure virtual

◆ battleStop()

abstract void Yukar.Engine.BattleEventControllerBase.battleStop ( )
pure virtual

◆ CalcHitCheckResult()

virtual void Yukar.Engine.BattleEventControllerBase.CalcHitCheckResult ( )
virtual

◆ existMember()

abstract bool Yukar.Engine.BattleEventControllerBase.existMember ( Guid  guid)
pure virtual

◆ fullRecovery()

abstract void Yukar.Engine.BattleEventControllerBase.fullRecovery ( bool  poison = true,
bool  revive = true 
)
pure virtual

◆ getActiveCharacter()

virtual BattleCharacterBase Yukar.Engine.BattleEventControllerBase.getActiveCharacter ( )
virtual

◆ getActiveCharacterActionType()

virtual int Yukar.Engine.BattleEventControllerBase.getActiveCharacterActionType ( )
virtual

◆ getActiveCharacterCampType()

virtual int Yukar.Engine.BattleEventControllerBase.getActiveCharacterCampType ( )
virtual

◆ getActiveCharacterIndex()

virtual int Yukar.Engine.BattleEventControllerBase.getActiveCharacterIndex ( )
virtual

◆ getActiveCharacterSelectedSkillOrItemName()

virtual string Yukar.Engine.BattleEventControllerBase.getActiveCharacterSelectedSkillOrItemName ( )
virtual

◆ getActiveCharacterSelectedSkillOrItemTag()

virtual string Yukar.Engine.BattleEventControllerBase.getActiveCharacterSelectedSkillOrItemTag ( )
virtual

◆ getActiveCharacterTargetCamp()

virtual int Yukar.Engine.BattleEventControllerBase.getActiveCharacterTargetCamp ( )
virtual

◆ getActiveCharacterTargetIndex()

virtual int Yukar.Engine.BattleEventControllerBase.getActiveCharacterTargetIndex ( )
virtual

◆ getBattleActorMapChr()

abstract MapCharacter Yukar.Engine.BattleEventControllerBase.getBattleActorMapChr ( Script.Command  curCommand,
Guid  guId 
)
pure virtual

◆ getBattleStatus()

abstract int Yukar.Engine.BattleEventControllerBase.getBattleStatus ( Script.Command.VarHeroSourceType  srcTypePlus,
Guid  option,
Common.GameData.Hero  hero 
)
pure virtual

◆ getEnemyGuid()

abstract Guid Yukar.Engine.BattleEventControllerBase.getEnemyGuid ( int  index)
pure virtual

◆ getEnemyStatus() [1/2]

virtual int Yukar.Engine.BattleEventControllerBase.getEnemyStatus ( Guid  statusId,
int  index 
)
virtual

◆ getEnemyStatus() [2/2]

abstract int Yukar.Engine.BattleEventControllerBase.getEnemyStatus ( Script.Command.VarHeroSourceType  srcTypePlus,
Guid  option,
int  index 
)
pure virtual

◆ getPartyNumber()

abstract int Yukar.Engine.BattleEventControllerBase.getPartyNumber ( )
pure virtual

◆ getPartyStatus() [1/2]

virtual int Yukar.Engine.BattleEventControllerBase.getPartyStatus ( Guid  statusId,
int  heroIndex 
)
virtual

◆ getPartyStatus() [2/2]

abstract int Yukar.Engine.BattleEventControllerBase.getPartyStatus ( Script.Command.VarHeroSourceType  srcTypePlus,
Guid  option,
int  heroIndex 
)
pure virtual

◆ getStatus() [1/2]

virtual int Yukar.Engine.BattleEventControllerBase.getStatus ( Guid  statusId,
Common.GameData.Hero  hero 
)
virtual

◆ getStatus() [2/2]

abstract int Yukar.Engine.BattleEventControllerBase.getStatus ( Script.Command.IfHeroSourceType  srcTypePlus,
Guid  option,
Common.GameData.Hero  hero 
)
pure virtual

◆ healBattleCharacter()

abstract void Yukar.Engine.BattleEventControllerBase.healBattleCharacter ( Script.Command  curCommand,
Guid  guId 
)
pure virtual

◆ healParty()

abstract void Yukar.Engine.BattleEventControllerBase.healParty ( Script.Command  curCommand,
Guid  guId 
)
pure virtual

◆ refreshEquipmentAttachCondition()

virtual void Yukar.Engine.BattleEventControllerBase.refreshEquipmentAttachCondition ( Common.GameData.Hero  hero,
int  setEquipmentIdx,
Common.Rom.NItem  prevEquipment 
)
virtual

◆ refreshEquipmentEffect()

abstract void Yukar.Engine.BattleEventControllerBase.refreshEquipmentEffect ( Common.GameData.Hero  hero)
pure virtual

◆ RefreshHeroMapChr()

abstract void Yukar.Engine.BattleEventControllerBase.RefreshHeroMapChr ( Cast  rom)
pure virtual

◆ searchEnemyFromMapCharacter()

virtual BattleCharacterBase Yukar.Engine.BattleEventControllerBase.searchEnemyFromMapCharacter ( MapCharacter  mapCharacter)
virtual

◆ searchPartyFromId()

virtual BattleCharacterBase Yukar.Engine.BattleEventControllerBase.searchPartyFromId ( object  heroId)
virtual

◆ setBattleStatus()

abstract void Yukar.Engine.BattleEventControllerBase.setBattleStatus ( Script.Command  curCommand,
Guid  evGuid,
bool  typeReduced = false 
)
pure virtual

◆ setNextAction()

abstract void Yukar.Engine.BattleEventControllerBase.setNextAction ( Script.Command  curCommand,
Guid  guId 
)
pure virtual

◆ SetNextBattleStatus()

virtual void Yukar.Engine.BattleEventControllerBase.SetNextBattleStatus ( List< BattleCharacterBase battlePlayerDataList)
virtual

◆ showBattleUi()

abstract void Yukar.Engine.BattleEventControllerBase.showBattleUi ( bool  v)
pure virtual

◆ start()

abstract void Yukar.Engine.BattleEventControllerBase.start ( Guid  scriptOnTrigger)
pure virtual

メンバ詳解

◆ lastBattleResult

double Yukar.Engine.BattleEventControllerBase.lastBattleResult
static

◆ lastSkillTargetIndex

double Yukar.Engine.BattleEventControllerBase.lastSkillTargetIndex = -1
static

◆ lastSkillTargetType

int Yukar.Engine.BattleEventControllerBase.lastSkillTargetType
static

◆ lastSkillUseCampType

CampType Yukar.Engine.BattleEventControllerBase.lastSkillUseCampType
static

◆ lastSkillUserIndex

double Yukar.Engine.BattleEventControllerBase.lastSkillUserIndex = -1
static