79 lines
1.9 KiB
C#
79 lines
1.9 KiB
C#
//this source code was auto-generated by tolua#, do not modify it
|
|
using System;
|
|
using LuaInterface;
|
|
|
|
public class GameLogic_SpeakManagerWrap
|
|
{
|
|
public static void Register(LuaState L)
|
|
{
|
|
L.BeginClass(typeof(GameLogic.SpeakManager), typeof(GameCore.UnitySingleton<GameLogic.SpeakManager>));
|
|
L.RegFunction("__eq", op_Equality);
|
|
L.RegFunction("__tostring", ToLua.op_ToString);
|
|
L.RegVar("Speaker_OnSelfSpeakVolume", get_Speaker_OnSelfSpeakVolume, null);
|
|
L.RegVar("Speaker_OnPlayerStartSpeak", get_Speaker_OnPlayerStartSpeak, null);
|
|
L.RegVar("Speaker_OnPlayerEndSpeak", get_Speaker_OnPlayerEndSpeak, null);
|
|
L.EndClass();
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int op_Equality(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.CheckArgsCount(L, 2);
|
|
UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
|
|
UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
|
|
bool o = arg0 == arg1;
|
|
LuaDLL.lua_pushboolean(L, o);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_Speaker_OnSelfSpeakVolume(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, GameLogic.SpeakManager.Speaker_OnSelfSpeakVolume);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_Speaker_OnPlayerStartSpeak(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, GameLogic.SpeakManager.Speaker_OnPlayerStartSpeak);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_Speaker_OnPlayerEndSpeak(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, GameLogic.SpeakManager.Speaker_OnPlayerEndSpeak);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
}
|
|
|