Lib
QOLを高める
Public Member Functions | Static Public Member Functions | List of all members
yappy::lua::export::sound Struct Reference

音声再生関連関数。soundグローバルテーブルに提供。 More...

#include <script_export.h>

Public Member Functions

 sound ()=delete
 

Static Public Member Functions

static int playSe (lua_State *L)
 効果音再生を開始する。 More...
 
static int playBgm (lua_State *L)
 BGM 再生を開始する。 More...
 
static int stopBgm (lua_State *L)
 BGM 再生を停止する。 More...
 

Detailed Description

音声再生関連関数。soundグローバルテーブルに提供。

sound = {};
See also
yappy::lua::export::resource
yappy::sound::XAudio2

Definition at line 138 of file script_export.h.

Constructor & Destructor Documentation

yappy::lua::export::sound::sound ( )
delete

Member Function Documentation

int yappy::lua::export::sound::playBgm ( lua_State *  L)
static

BGM 再生を開始する。

function sound.playBgm(int setId, str resId)
end
Parameters
[in]setIdリソースセットID(整数値)
[in]resIdリソースID(文字列)
Returns
なし

Definition at line 763 of file script_export.cpp.

int yappy::lua::export::sound::playSe ( lua_State *  L)
static

効果音再生を開始する。

function sound.playSe(int setId, str resId)
end
Parameters
[in]setIdリソースセットID(整数値)
[in]resIdリソースID(文字列)
Returns
なし

Definition at line 739 of file script_export.cpp.

int yappy::lua::export::sound::stopBgm ( lua_State *  L)
static

BGM 再生を停止する。

function sound.stopBgm()
end
Returns
なし

Definition at line 785 of file script_export.cpp.


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