![]() |
|
メニューを含むマップ移動中の処理全般を管理するクラス [詳解]
クラス | |
| class | AutoSkipSettings |
| struct | EffectDrawEntry |
| エフェクト描画情報 [詳解] | |
| struct | MovieDrawEntry |
| ムービー描画情報 [詳解] | |
| class | ScriptRunnerDictionary |
| 現在実行中もしくは実行待機中のイベントを管理するためのクラス [詳解] | |
公開型 | |
| enum | EffectPosType { Head , Body , Ground } |
| エフェクト座標 [詳解] | |
公開メンバ関数 | |
| 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) |
| 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, bool cancellable=false, int initialSelectIndex=0, bool[] enableState=null) |
| 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 | SetInputString (string value) |
| void | HideInputWindow () |
| void | HideFreeLayout (Guid layoutGuid, bool hideAll, bool immediate=false) |
| 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 setRigidBodyPosition=false) |
| virtual void | RefreshHeroJoint (Guid heroGuid) |
| GameData.Party の Joint 情報を元にマップキャラクターを更新する。 [詳解] | |
| void | setEncountFlag (bool p) |
| void | setMenuAvailable (bool p) |
| void | setSaveAvailable (bool p) |
| IEnumerable< ScriptRunner > | GetScriptRunners (MapCharacter chr) |
| 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 () |
| カメラアニメを強制終了する [詳解] | |
| Common.Rom.RenderSettings | GetCurrentRenderSettings () |
| abstract void | initialize () |
| abstract void | finalize () |
| abstract void | Update () |
| abstract void | Draw () |
静的公開メンバ関数 | |
| 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 () |
| ロード中かどうかを外部から参照する [詳解] | |
静的公開変数類 | |
| 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 |
静的限定公開メンバ関数 | |
| static bool | ChangeGraphicImpl (Catalog catalog, MapCharacter mapChr, Guid guid, MapData mapDrawer) |
限定公開変数類 | |
| Common.Rom.Map.CameraControlMode | cameraControlMode = Common.Rom.Map.CameraControlMode.UNKNOWN |
| SharpKmyMath.Matrix4 | pp = SharpKmyMath.Matrix4.identity() |
| SharpKmyMath.Matrix4 | vv = SharpKmyMath.Matrix4.identity() |
プロパティ | |
| 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 [set] |
| bool | IsMapChangedFrame [get] |
基底クラス Yukar.Engine.SceneBase に属する継承プロパティ | |
| MapScene | M [get] |
メニューを含むマップ移動中の処理全般を管理するクラス
| Yukar.Engine.MapScene.MapScene | ( | ) |
| Yukar.Engine.MapScene.MapScene | ( | GameMain | owner | ) |
|
virtual |
| bool Yukar.Engine.MapScene.ChangeGraphic | ( | MapCharacter | mapChr, |
| Guid | guid | ||
| ) |
|
staticprotected |
| void Yukar.Engine.MapScene.CopyFromCameraManager | ( | CameraManager | camManager | ) |
| void Yukar.Engine.MapScene.createCameraMatrix | ( | float | aspectRatio, |
| SharpKmyMath.Vector3 | lookAt, | ||
| Common.Rom.ThirdPersonCameraSettings | cameraSettings, | ||
| out SharpKmyMath.Matrix4 | p, | ||
| out SharpKmyMath.Matrix4 | v | ||
| ) |
カメラ行列の生成(ThirdPersonCameraSettingsを明示的に指定するタイプ)
| aspectRatio | |
| lookAt | |
| cameraSettings | |
| p | |
| v |
| void Yukar.Engine.MapScene.CreateCameraMatrix | ( | out SharpKmyMath.Matrix4 | p, |
| out SharpKmyMath.Matrix4 | v, | ||
| float | farclip = 1000f |
||
| ) |
カメラ行列の生成
| p | |
| v |
| bool Yukar.Engine.MapScene.DecidedStayingAtInn | ( | ) |
|
virtual |
|
virtual |
描画処理
Yukar.Engine.SceneBaseを実装しています。
| void Yukar.Engine.MapScene.DrawEffects | ( | ) |
| void Yukar.Engine.MapScene.DrawFace | ( | ) |
立ち絵を明示的に描画する SpriteFaceManager.cs にあるべきだが、バトルプラグインの互換性維持のためここに残す
| void Yukar.Engine.MapScene.DrawMovies | ( | int | priority | ) |
| void Yukar.Engine.MapScene.DrawToast | ( | ) |
| void Yukar.Engine.MapScene.drawWindows | ( | ) |
| void Yukar.Engine.MapScene.EndBattleMode | ( | int | loseSwitch = -1 | ) |
|
virtual |
|
virtual |
Yukar.Engine.SceneBaseを実装しています。
| Common.Rom.Map.CameraControlMode Yukar.Engine.MapScene.GetCameraControlMode | ( | ) |
カメラ制御モードを取得
| Catalog Yukar.Engine.MapScene.getCatalog | ( | ) |
|
static |
|
virtual |
|
virtual |
|
static |
| int Yukar.Engine.MapScene.GetChoicesResult | ( | ) |
| Common.Rom.RenderSettings Yukar.Engine.MapScene.GetCurrentRenderSettings | ( | ) |
|
static |
| MapCharacter Yukar.Engine.MapScene.GetHero | ( | ) |
|
virtual |
| string Yukar.Engine.MapScene.GetInputString | ( | ) |
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.GetLookAtTarget | ( | ) |
| LayoutMenuController Yukar.Engine.MapScene.GetMenuController | ( | ) |
| float Yukar.Engine.MapScene.GetRandom | ( | float | max, |
| float | min | ||
| ) |
| int Yukar.Engine.MapScene.GetRandom | ( | int | max, |
| int | min = 0 |
||
| ) |
|
static |
|
virtual |
| IEnumerable< ScriptRunner > Yukar.Engine.MapScene.GetScriptRunners | ( | MapCharacter | chr | ) |
| bool Yukar.Engine.MapScene.GetShopResult | ( | ) |
| bool Yukar.Engine.MapScene.GetSpritePos | ( | int | spriteid, |
| out int | x, | ||
| out int | y | ||
| ) |
| bool Yukar.Engine.MapScene.haveFinshedInputing | ( | ) |
| void Yukar.Engine.MapScene.HideFreeLayout | ( | Guid | layoutGuid, |
| bool | hideAll, | ||
| bool | immediate = false |
||
| ) |
| void Yukar.Engine.MapScene.HideInputWindow | ( | ) |
|
virtual |
Yukar.Engine.SceneBaseを実装しています。
| void Yukar.Engine.MapScene.initializeMenu | ( | ) |
| bool Yukar.Engine.MapScene.IsLoadingData | ( | ) |
|
static |
ロード中かどうかを外部から参照する
| bool Yukar.Engine.MapScene.isMenuVisible | ( | ) |
メニューの表示状態(会話などを含めない)
| bool Yukar.Engine.MapScene.IsQueuedDialogue | ( | int | id | ) |
| bool Yukar.Engine.MapScene.IsQueuedMessage | ( | int | id | ) |
| bool Yukar.Engine.MapScene.IsShopVisible | ( | ) |
| bool Yukar.Engine.MapScene.isToastVisible | ( | ) |
| bool Yukar.Engine.MapScene.IsTrashVisible | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleChoices | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleDialogue | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleEventLayout | ( | Guid | guid | ) |
| bool Yukar.Engine.MapScene.IsVisibleInn | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleMessage | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleTelop | ( | ) |
| bool Yukar.Engine.MapScene.IsWiping | ( | ) |
| bool Yukar.Engine.MapScene.IsWordPopped | ( | ) |
| delegate void Yukar.Engine.MapScene.LoadEndCallback | ( | ) |
| void Yukar.Engine.MapScene.LockControl | ( | ScriptRunner | runner = null | ) |
|
virtual |
GameData.Party の Joint 情報を元にマップキャラクターを更新する。
| heroGuid | 更新対象のCastのGuid |
| void Yukar.Engine.MapScene.RefreshHeroMapChr | ( | bool | setRigidBodyPosition = false | ) |
| void Yukar.Engine.MapScene.releaseMenu | ( | ) |
| void Yukar.Engine.MapScene.ReloadLayout | ( | Common.Rom.LayoutProperties.LayoutNode.UsageInGame | usage | ) |
レイアウトを読み直す(使わなくなったレイアウトの開放処理が走るので一瞬固まります)
| usage | 読み直すレイアウトの種類 |
|
virtual |
| void Yukar.Engine.MapScene.Reset | ( | ) |
| void Yukar.Engine.MapScene.resetCamera | ( | bool | initializeByLoadMap | ) |
| void Yukar.Engine.MapScene.ResetMapCharacter | ( | ) |
配置イベントのリセット
| void Yukar.Engine.MapScene.resetViewCamera | ( | ) |
|
virtual |
| void Yukar.Engine.MapScene.SetEffectTargetColor | ( | int | index, |
| Color | color | ||
| ) |
| void Yukar.Engine.MapScene.setEncountFlag | ( | bool | p | ) |
|
virtual |
| void Yukar.Engine.MapScene.SetInputString | ( | string | value | ) |
| void Yukar.Engine.MapScene.setLightDisplayID | ( | bool | isBattle, |
| uint | displayId | ||
| ) |
| void Yukar.Engine.MapScene.SetLookAtTarget | ( | MapCharacter | chr, |
| SharpKmyMath.Vector3 | pos | ||
| ) |
| void Yukar.Engine.MapScene.setMenuAvailable | ( | bool | p | ) |
| void Yukar.Engine.MapScene.setSaveAvailable | ( | bool | p | ) |
| void Yukar.Engine.MapScene.SetScreenColor | ( | Color | color | ) |
| void Yukar.Engine.MapScene.SetWipe | ( | Guid | effectGuid | ) |
| void Yukar.Engine.MapScene.ShowChoices | ( | string[] | strs, |
| int | selectionPos, | ||
| bool | cancellable = false, |
||
| int | initialSelectIndex = 0, |
||
| bool[] | enableState = null |
||
| ) |
| int Yukar.Engine.MapScene.ShowDialogue | ( | string | str, |
| int | winAlign, | ||
| MenuControllerBase.WindowTypes | winType, | ||
| Guid | sender | ||
| ) |
| void Yukar.Engine.MapScene.ShowEventLayout | ( | Guid | layoutGuid, |
| Common.Rom.LayoutProperties.LayoutNode.UsageInGame | usage | ||
| ) |
|
virtual |
| void Yukar.Engine.MapScene.ShowFace | ( | Guid | inLeftId, |
| string | inLeftMotion, | ||
| bool | inIsLeftFlip, | ||
| Guid | inRightId, | ||
| string | inRightMotion, | ||
| bool | inIsRightFlip, | ||
| bool | inIsLeftActive, | ||
| bool | inUsedLighting, | ||
| string | blendShapeA, | ||
| string | blendShapeB | ||
| ) |
| void Yukar.Engine.MapScene.ShowInn | ( | int | innPrice, |
| int | winAlign | ||
| ) |
| void Yukar.Engine.MapScene.ShowInputWindow | ( | string[] | loadStrings, |
| int | stringLength, | ||
| string | defaultInputStrings, | ||
| int | selectionPosition | ||
| ) |
| int Yukar.Engine.MapScene.ShowMessage | ( | string | str, |
| int | winAlign, | ||
| MenuControllerBase.WindowTypes | winType, | ||
| Guid | sender | ||
| ) |
| void Yukar.Engine.MapScene.ShowShop | ( | Guid | layoutGuid, |
| Common.Rom.NItem[] | items, | ||
| int[] | prices | ||
| ) |
| void Yukar.Engine.MapScene.ShowTelop | ( | string | str, |
| int | winAlign, | ||
| MenuControllerBase.WindowTypes | winType, | ||
| AbstractRenderObject.GameContent.TelopProperty | telopProperty, | ||
| Guid | sender | ||
| ) |
| void Yukar.Engine.MapScene.ShowToast | ( | string | p | ) |
| void Yukar.Engine.MapScene.ShowTrashWindow | ( | Guid | guid, |
| int | num, | ||
| bool | isCancellable = true |
||
| ) |
| void Yukar.Engine.MapScene.StartBattle | ( | IEnumerable< Guid > | enemyGuids | ) |
| void Yukar.Engine.MapScene.StartFadeIn | ( | ) |
| void Yukar.Engine.MapScene.StartFadeOut | ( | ) |
| void Yukar.Engine.MapScene.StartLoadData | ( | ) |
|
virtual |
カメラアニメを強制終了する
| void Yukar.Engine.MapScene.UnlockControl | ( | ScriptRunner | runner = null | ) |
|
virtual |
Yukar.Engine.SceneBaseを実装しています。
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.UpdateCameraAnimation | ( | ) |
| void Yukar.Engine.MapScene.UpdateFace | ( | ) |
| void Yukar.Engine.MapScene.UpdateToast | ( | ) |
| void Yukar.Engine.MapScene.updateWindows | ( | ) |
| AutoSkipSettings Yukar.Engine.MapScene.autoSkip = new AutoSkipSettings() |
| float Yukar.Engine.MapScene.baseRomDist = 70 |
| float Yukar.Engine.MapScene.baseRomNearClip = 1f |
| BattleSequenceManagerBase Yukar.Engine.MapScene.battleSequenceManager |
| Common.Rom.Map.BattleSetting Yukar.Engine.MapScene.battleSetting |
|
protected |
| Vector3 Yukar.Engine.MapScene.camOffset = new Vector3(0, 0.5f, 0) |
| List<Guid> Yukar.Engine.MapScene.destroyedEventList = new List<Guid>() |
|
static |
| float Yukar.Engine.MapScene.dist = 70 |
|
static |
| bool Yukar.Engine.MapScene.exclusiveInverse |
| ScriptRunner Yukar.Engine.MapScene.exclusiveRunner |
| FaceView Yukar.Engine.MapScene.faceView |
| FieldBattleViewer Yukar.Engine.MapScene.fieldBattleViewer |
| float Yukar.Engine.MapScene.fovy = 5 |
|
static |
| MapCharacter Yukar.Engine.MapScene.hero |
| bool Yukar.Engine.MapScene.isBattle |
| int Yukar.Engine.MapScene.isCameraMoveByCameraFunc = 0 |
| bool Yukar.Engine.MapScene.isGameOver |
| MapLoadManager Yukar.Engine.MapScene.loadManager |
| float Yukar.Engine.MapScene.loadMoveCameraProcessTime |
| HashSet<ScriptRunner> Yukar.Engine.MapScene.lockPushedRunner = new HashSet<ScriptRunner>() |
| Common.Rom.Camera.LpfTypes Yukar.Engine.MapScene.lpfType = Common.Rom.Camera.LpfTypes.HEIGHT |
| Common.Rom.Map Yukar.Engine.MapScene.map |
| List<MapCharacter> Yukar.Engine.MapScene.mapCharList = new List<MapCharacter>() |
| MapData Yukar.Engine.MapScene.mapDrawer |
| MapEngine Yukar.Engine.MapScene.mapEngine |
| bool Yukar.Engine.MapScene.mapFixCamera |
| bool Yukar.Engine.MapScene.mapFixCameraMode |
| MenuControllerBase Yukar.Engine.MapScene.menuWindow = null |
| float Yukar.Engine.MapScene.moveCameraProcessTime |
| float Yukar.Engine.MapScene.nearClip = 1f |
| bool Yukar.Engine.MapScene.ortho |
|
static |
| int Yukar.Engine.MapScene.playerLocked |
|
protected |
| ScriptRunnerDictionary Yukar.Engine.MapScene.runnerDic = new ScriptRunnerDictionary() |
|
static |
| Color Yukar.Engine.MapScene.screenColor = Color.Transparent |
| SpriteManager Yukar.Engine.MapScene.spManager = new SpriteManager() |
| Common.Rom.ThirdPersonCameraSettings Yukar.Engine.MapScene.startCameraParam = new Common.Rom.ThirdPersonCameraSettings() |
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.startHeroPos |
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.startPos |
|
protected |
| float Yukar.Engine.MapScene.xCurrentAngle = -60 |
| float Yukar.Engine.MapScene.xTargetAngle = -60 |
| float Yukar.Engine.MapScene.yCurrentAngle = 0 |
| float Yukar.Engine.MapScene.yTargetAngle = 0 |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
set |
|
getset |
|
getset |