予約行動クラス More...
#include <GxModUnitActionPlanning.h>


Public Member Functions | |
初期化 | |
| GxModUnitActionPlanning (void) | |
| デフォルトコンストラクタ | |
| ~GxModUnitActionPlanning (void) override | |
| デストラクタ | |
Public Member Functions inherited from GxModUnitBase | |
| GxModUnitBase (void) | |
| デフォルトコンストラクタ | |
| ~GxModUnitBase (void) override | |
| デストラクタ | |
Public Member Functions inherited from GxModBase | |
| GxModBase (void) | |
| デフォルトコンストラクタ | |
| virtual | ~GxModBase (void) |
| デストラクタ | |
Public Member Functions inherited from GxClassBase | |
| constexpr | GxClassBase (void) |
| コンストラクタ | |
| constexpr | GxClassBase (const GxClassBase &base) |
| コピーコンストラクタ | |
| ~GxClassBase (void) override | |
| デストラクタ | |
Public Member Functions inherited from GxClassBaseRoot | |
| constexpr | GxClassBaseRoot (void) |
| コンストラクタ | |
| constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
| コピーコンストラクタ | |
| virtual | ~GxClassBaseRoot (void) |
| デストラクタ | |
| constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| 代入演算子 | |
| virtual GxRtti & | getRtti (void) const =0 |
| Rttiの取得 | |
| virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
| デフォルトオブジェクトを取得 | |
| GX_FORCE_INLINE b32 | isDefaultObject (void) |
| デフォルトオブジェクト判定 | |
定義 | |
| enum class | STATE { END , SET , WAIT } |
| 状態定義 More... | |
| static constexpr u32 | ATTRIBUTE_CONTINUE_INVALID = 1 << 0 |
| 連続設定無効 | |
| static constexpr u32 | ATTRIBUTE_INTERRUPT = 1 << 1 |
| 割り込み | |
操作 | |
| void | preAsyncUpdate (void) override |
| 並列更新(asyncUpdateの前に実行される) | |
| void | addTop (const GxUnitCharacterBase::GxAction &action, u32 attribute=0) |
| 予約を先頭に追加 | |
| void | addBottom (const GxUnitCharacterBase::GxAction &action, u32 attribute=0) |
| 予約を末尾に追加 | |
| void | addBottomPlanSet (u32 index) |
| 行動セットの予約を末尾に追加 | |
| void | eraseTop (void) |
| 先頭の予約を削除 | |
| void | eraseAll (void) |
| 全ての予約を削除 | |
アクセサ | |
| GxUnitCharacterBase::GxAction * | getAction (u32 index) const |
| 行動を取得 | |
| constexpr u32 | getCount (void) const |
| 予約数を取得 | |
| GX_FORCE_INLINE b32 | isState (STATE state) const |
| 状態を取得 | |
| constexpr void | setState (STATE state) |
| 状態を設定 | |
| constexpr GxResActionPlanning * | getResource (void) |
| リソース取得 | |
| void | setResource (GxResActionPlanning *pResource) |
| リソースを設定 | |
| void | getPropertyResource (void *const pValue) |
| プロパティ用リソースの取得 | |
| void | setPropertyResource (const void *const pValue) |
| プロパティ用リソースの設定 | |
| static GX_FORCE_INLINE const GxRtti & | getOwnerDerivedRtti (void) |
| 所持者に必要な継承RTTIを取得 | |
Additional Inherited Members | |
Static Public Member Functions inherited from GxClassBaseRoot | |
| static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得 | |
Protected Member Functions inherited from GxModUnitBase | |
| virtual GX_FORCE_INLINE b32 | setup (void) |
| セットアップ(preAsyncUpdate前に初回のみ実行される) | |
| virtual GX_FORCE_INLINE void | asyncUpdate (void) |
| 並列更新 | |
| virtual GX_FORCE_INLINE void | postAsyncUpdate (void) |
| 並列更新(asyncUpdateの後に実行される) | |
| virtual GX_FORCE_INLINE void | sequentialUpdate (void) |
| 逐次更新 | |
| virtual GX_FORCE_INLINE void | forceAsyncUpdate (void) |
| 強制並列更新(pause中も実行) | |
| virtual GX_FORCE_INLINE void | render (void) |
| 描画 | |
| virtual GX_FORCE_INLINE b32 | setRenderMaterial (GxRenderMaterial *) |
| マテリアルの描画設定 | |
| GX_FORCE_INLINE GxUnitBase * | getOwner (void) const |
| 所持者を取得 | |
| GX_FORCE_INLINE GxFlag32Index< UPDATE_TYPE > | getUpdateEnable (void) const |
| 更新を呼ぶかを取得 | |
| GX_FORCE_INLINE void | setUpdateEnable (UPDATE_TYPE updateType, b32 enable) |
| 更新を呼ぶかを設定 | |
Protected Member Functions inherited from GxModBase | |
| constexpr GxClassBaseRoot * | getOwner (void) const |
| 所持者を取得 | |
| virtual GX_FORCE_INLINE void | setOwner (GxClassBaseRoot *pOwner) |
| 所持者を設定 | |
Static Protected Member Functions inherited from GxModUnitBase | |
| static const GxRtti & | getOwnerDerivedRtti (void) |
| 所持者に必要な継承RTTIを取得 | |
予約行動クラス
|
strong |
| void GxModUnitActionPlanning::addBottom | ( | const GxUnitCharacterBase::GxAction & | action, |
| u32 | attribute = 0 ) |
予約を末尾に追加
| action | [in] 行動 |
| attribute | [in] アトリビュート |


| void GxModUnitActionPlanning::addBottomPlanSet | ( | u32 | index | ) |
行動セットの予約を末尾に追加
| index | [in] 予約行動セットインデックス |

| void GxModUnitActionPlanning::addTop | ( | const GxUnitCharacterBase::GxAction & | action, |
| u32 | attribute = 0 ) |
予約を先頭に追加
| action | [in] 行動 |
| attribute | [in] アトリビュート |

| GxUnitCharacterBase::GxAction * GxModUnitActionPlanning::getAction | ( | u32 | index | ) | const |
行動を取得
| index | [in] 行動インデックス |

| void GxModUnitActionPlanning::getPropertyResource | ( | void *const | pValue | ) |
プロパティ用リソースの取得
| pValue | [in] 取得リソース |
|
overridevirtual |
並列更新(asyncUpdateの前に実行される)
Reimplemented from GxModUnitBase.

| void GxModUnitActionPlanning::setPropertyResource | ( | const void *const | pValue | ) |
プロパティ用リソースの設定
| pValue | [in] 設定リソース |
| void GxModUnitActionPlanning::setResource | ( | GxResActionPlanning * | pResource | ) |
リソースを設定
| pResource | [in] リソース |