RPG Maker Unite version 1.00.00
Generated by Doxygen 1.9.6
 
Loading...
Searching...
No Matches
RPGMaker.Codebase.Runtime.Scene.Map.EventCommandChainLauncher Class Reference

Public Member Functions

 EventCommandChainLauncher (Func< bool > checkValid=null)
 コンストラクタ
 
List< EventDataModel.EventCommandShopItemList ()
 ショップの陳列データを送る
 
bool LaunchCommandChain (EventMapDataModel mapDataModelEvent, EventDataModel evt, [CanBeNull] Action< EventMapDataModel, EventDataModel > callback=null, bool autoEvent=false, [CanBeNull] Action< string > executeCommonEvent=null)
 イベントコマンドチェーンを開始する
 
override void ProcessCommand (string eventId)
 イベントコマンドを実行する.
 
override void ProcessCommandExecute ()
 
void EndAutoCommandChain ()
 自動実行、並列実行処理終了
 
void ExitCommandChain ()
 マップを移動した等の理由で、イベントを完全に消去する
 
void ShopEvent ()
 ショップに関するイベント
 
void EventGapExecution ()
 
void InitializeCount ()
 ループカウントの初期化
 
bool IsCustomMoveSkipIfUnabletoMove ()
 
string GetCustomMoveTargetEvent ()
 
bool ResumeCommandChain (EventMapDataModel mapDataModelEvent, EventDataModel evt, [CanBeNull] Action< EventMapDataModel, EventDataModel > callback, bool autoEvent, int index)
 イベントコマンドチェーンを復元する
 
- Public Member Functions inherited from RPGMaker.Codebase.Runtime.Event.AbstractEventCommandChainLauncher
int GetIndex ()
 現在実行中のCommandIndex取得
 
void SetIndex (int index)
 現在実行中のCommandIndexを指定位置まで飛ばす
 
bool IsRunning ()
 現在イベントが実行中かどうかを返却する
 
int GetRunningEventCode ()
 現在実行中のイベントコードを返却する
 
EventEnum GetNextEventCode ()
 次に実行するイベントコードを取得
 
virtual void ProcessCommand (string eventId)
 イベントコマンドを実行する. 継承先で必要な処理を記載する.
 
virtual void ProcessCommandExecute ()
 
void ProcessCommand ()
 引数無しでイベントコマンドを実行する. この場合は同一のイベントIDで処理を継続する.
 

Protected Attributes

int _loopCount
 ウェイトを挟まずに実行しているカウント数
 
Func< bool > _checkValid
 イベント終了時に実行するCB
 
- Protected Attributes inherited from RPGMaker.Codebase.Runtime.Event.AbstractEventCommandChainLauncher
readonly Dictionary< EventEnum, AbstractEventCommandProcessor_commandProcessors
 各イベントコードで実行する、各イベントプロセッサーの定義
 
Action< EventMapDataModel, EventDataModel_callback
 イベント実行完了後のコールバック
 
Action< string > _executeCommonEvent
 コモンイベントを実行する際のコールバック(マップ用)
 
string _commandEventID
 現在実行中のイベントID
 
List< EventDataModel.EventCommand_commandsInQueue
 現在実行中のイベントコマンドリスト
 
int _currentCommandIndex
 イベントリスト内で、現在実行中のイベントのIndex
 
int _eventCode
 現在実行中のイベントコード
 
List< EventCommonDataModel_eventCommonDataModels = null
 イベント用のDataModelリスト
 
EventManagementService _eventManagementService = null
 イベント用のService
 
bool _inputSelect
 数値入力中かどうかのフラグ
 
bool _running
 イベントが実行中かどうかのフラグ
 

Additional Inherited Members

- Protected Member Functions inherited from RPGMaker.Codebase.Runtime.Event.AbstractEventCommandChainLauncher
bool FlowControl (EventEnum code, string eventId)
 イベントのフロー制御. ソースを分けるとインデックス周りが複雑になるのでここで処理.
 

Member Function Documentation

◆ LaunchCommandChain()

bool RPGMaker.Codebase.Runtime.Scene.Map.EventCommandChainLauncher.LaunchCommandChain ( EventMapDataModel  mapDataModelEvent,
EventDataModel  evt,
[CanBeNull] Action< EventMapDataModel, EventDataModel callback = null,
bool  autoEvent = false,
[CanBeNull] Action< string >  executeCommonEvent = null 
)

イベントコマンドチェーンを開始する

Parameters
mapDataModelEventEventMapDataModel
evtEventDataModel
callbackイベント終了時に実行するコールバック
autoEvent自動実行のイベントかどうかのフラグ

◆ ProcessCommand()

override void RPGMaker.Codebase.Runtime.Scene.Map.EventCommandChainLauncher.ProcessCommand ( string  eventId)
virtual

イベントコマンドを実行する.

Parameters
eventIdイベントID

Reimplemented from RPGMaker.Codebase.Runtime.Event.AbstractEventCommandChainLauncher.

◆ ProcessCommandExecute()

override void RPGMaker.Codebase.Runtime.Scene.Map.EventCommandChainLauncher.ProcessCommandExecute ( )
virtual

◆ ResumeCommandChain()

bool RPGMaker.Codebase.Runtime.Scene.Map.EventCommandChainLauncher.ResumeCommandChain ( EventMapDataModel  mapDataModelEvent,
EventDataModel  evt,
[CanBeNull] Action< EventMapDataModel, EventDataModel callback,
bool  autoEvent,
int  index 
)

イベントコマンドチェーンを復元する

Parameters
mapDataModelEventEventMapDataModel
evtEventDataModel
callbackイベント終了時に実行するコールバック
autoEvent自動実行のイベントかどうかのフラグ

◆ ShopItemList()

List< EventDataModel.EventCommand > RPGMaker.Codebase.Runtime.Scene.Map.EventCommandChainLauncher.ShopItemList ( )

ショップの陳列データを送る

Returns