OROCHI
 
Loading...
Searching...
No Matches
GxScriptRuntime Class Reference

スクリプトランタイムクラス More...

#include <GxScriptRuntime.h>

Inheritance diagram for GxScriptRuntime:
Collaboration diagram for GxScriptRuntime:

Classes

struct  GxCall
 関数呼び出し情報 More...
 
struct  GxVariable
 変数情報 More...
 

Public Member Functions

初期化
 GxScriptRuntime (void)
 デフォルトコンストラクタ
 
void initialize (const GxResScript &resScript)
 初期化
 
void initializeArguments (GxScript *pScript, u32 argumentCount, GxFunction::GxValue *pValues)
 引数を初期化
 
操作
void update (f32 deltaTime)
 更新
 
void push (GxScript::GxBlock *pBlock)
 コールスタックに追加
 
void setCallStackArgument (u32 callStackIndex, u32 argumentIndex, GxFunction::GxValue *pValues)
 コールスタックに引数の値を追加
 
GxCallpop (void)
 コールスタックから削除
 
アクセサ
constexpr void setSleepTime (f32 time)
 スリープ時間を設定
 
GX_FORCE_INLINE b32 isSleep (void) const
 スリープ判定
 
GxFunction::GxValue getValue (u32 propertyId) const
 変数値を取得
 
void setValue (u32 propertyId, GxFunction::GxValue value)
 変数値を設定
 
constexpr void setScriptBreak (GxScript *pScript)
 ブレーク中のイベントスクリプトを設定
 
constexpr GxScriptgetScriptBreak (void) const
 ブレーク中のイベントスクリプトを取得
 
constexpr void setBlockBreak (GxScript::GxBlockCommand *pBlock)
 ブレーク中のブロックを設定
 
constexpr GxScript::GxBlockCommandgetBlockBreak (void) const
 ブレーク中のブロックを取得
 
GX_FORCE_INLINE b32 isBreak (void) const
 ブレーク中判定
 
constexpr u32 getCallStackCount (void) const
 コールスタック数を取得
 
- 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 GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

スクリプトランタイムクラス

Member Function Documentation

◆ getValue()

GxFunction::GxValue GxScriptRuntime::getValue ( u32 propertyId) const

変数値を取得

Parameters
propertyId[in] プロパティID
Returns
変数値
Here is the caller graph for this function:

◆ initialize()

void GxScriptRuntime::initialize ( const GxResScript & resScript)

初期化

Parameters
resScript[in] スクリプトリソース
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializeArguments()

void GxScriptRuntime::initializeArguments ( GxScript * pScript,
u32 argumentCount,
GxFunction::GxValue * pValues )

引数を初期化

Parameters
pScript[in] スクリプト
argumentCount[in] 引数の数
pValues[in] 引数リスト
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pop()

GxScriptRuntime::GxCall * GxScriptRuntime::pop ( void )

コールスタックから削除

Returns
呼び出し情報
Here is the caller graph for this function:

◆ push()

void GxScriptRuntime::push ( GxScript::GxBlock * pBlock)

コールスタックに追加

Parameters
pBlock[in] 実行中ブロック
Here is the caller graph for this function:

◆ setCallStackArgument()

void GxScriptRuntime::setCallStackArgument ( u32 callStackIndex,
u32 argumentIndex,
GxFunction::GxValue * pValues )

コールスタックに引数の値を追加

Parameters
callStackIndex[in] コールスタックインデックス
argumentIndex[in] 引数インデックス
pValues[in] 引数リスト
Here is the caller graph for this function:

◆ setValue()

void GxScriptRuntime::setValue ( u32 propertyId,
GxFunction::GxValue value )

変数値を設定

Parameters
propertyId[in] プロパティID
value[in] 変数値
Here is the caller graph for this function:

◆ update()

void GxScriptRuntime::update ( f32 deltaTime)

更新

Parameters
deltaTime[in] 更新時間
Here is the caller graph for this function:

The documentation for this class was generated from the following files: