|
GameServer
|
Luaにバインドする関数群定義。 [詳解]
#include "stdafx.h"#include "ScriptBinds.h"#include "ScriptExecuterBase.h"#include "ExecuterPool.h"#include "lua.hpp"#include "lauxlib.h"#include "lualib.h"
関数 | |
| int | ShowMessage_Call (lua_State *pState) |
| メッセージ表示 [詳解] | |
| int | PushSelection_Call (lua_State *pState) |
| 選択肢をプッシュ [詳解] | |
| int | ShowSelection_Call (lua_State *pState) |
| 選択肢表示 [詳解] | |
| int | SetFlag_Call (lua_State *pState) |
| フラグをセット [詳解] | |
| int | GetFlag_Call (lua_State *pState) |
| フラグを取得 [詳解] | |
| int | IsQuestActive_Call (lua_State *pState) |
| クエストが進行中か? [詳解] | |
| int | ProgressQuest_Call (lua_State *pState) |
| クエストを進行 [詳解] | |
| int | GetQuestStageNo_Call (lua_State *pState) |
| クエストのステージ番号を取得 [詳解] | |
| int | GetItemCount_Call (lua_State *pState) |
| アイテムの個数を取得 [詳解] | |
| int | ConsumeItem_Call (lua_State *pState) |
| アイテムを消費 [詳解] | |
| int | AcceptQuest_Call (lua_State *pState) |
| クエストを受注 [詳解] | |
| int | IsQuestClear_Call (lua_State *pState) |
| クエストをクリアしているか? [詳解] | |
| int | ShowShop_Call (lua_State *pState) |
| ショップ画面を表示 [詳解] | |
Luaにバインドする関数群定義。
クラスのメンバ関数がバインドできない為の処置。 ※ここに定義された関数はC++側からは呼び出さない事。
| int AcceptQuest_Call | ( | lua_State * | pState | ) |
クエストを受注
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int ConsumeItem_Call | ( | lua_State * | pState | ) |
アイテムを消費
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int GetFlag_Call | ( | lua_State * | pState | ) |
フラグを取得
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int GetItemCount_Call | ( | lua_State * | pState | ) |
アイテムの個数を取得
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int GetQuestStageNo_Call | ( | lua_State * | pState | ) |
クエストのステージ番号を取得
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int IsQuestActive_Call | ( | lua_State * | pState | ) |
クエストが進行中か?
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int IsQuestClear_Call | ( | lua_State * | pState | ) |
クエストをクリアしているか?
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int ProgressQuest_Call | ( | lua_State * | pState | ) |
クエストを進行
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int PushSelection_Call | ( | lua_State * | pState | ) |
選択肢をプッシュ
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int SetFlag_Call | ( | lua_State * | pState | ) |
フラグをセット
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int ShowMessage_Call | ( | lua_State * | pState | ) |
メッセージ表示
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int ShowSelection_Call | ( | lua_State * | pState | ) |
選択肢表示
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

| int ShowShop_Call | ( | lua_State * | pState | ) |
ショップ画面を表示
スクリプトにバインドされて呼び出される。
| [in] | pState | Luaステート |

1.8.14